摘要: //父页面 <template> <div> <iframe id="PanIframe" width="100%" height="2000px" src="http://127.0.0.1:7006/formCreateDesigner"></iframe> </div> </template> 阅读全文
posted @ 2023-05-06 15:30 Chaplink 阅读(37) 评论(0) 推荐(0) 编辑
摘要: // 父页面调用 windo.open(url,'_blank') //子页面用js关闭 window.opener.location.reload() window.close() 阅读全文
posted @ 2023-04-24 15:29 Chaplink 阅读(287) 评论(0) 推荐(0) 编辑
摘要: <c-switch :switchList="['自取','外送']" @change="switchChange"></c-switch> 原因是 //switchList里面的数组逗号后面要有一个空格 <c-switch :switchList="['自取', '外送']" @change="s 阅读全文
posted @ 2023-04-08 10:33 Chaplink 阅读(2261) 评论(0) 推荐(0) 编辑
摘要: 回塞到页面组件里解决方法 //数据展示页 <lab ref="thridRef" confirm="sumbitFn"></lab> const thridRef = ref() //数据展示页引用的组件 lab.vue //抛出需要被塞数据的字段 defineExpose({form}) //回塞 阅读全文
posted @ 2023-03-27 14:03 Chaplink 阅读(185) 评论(0) 推荐(0) 编辑
摘要: dayjs(endTime).diff(dayjs(startTime), 'years') dayjs(endTime).diff(dayjs(startTime), 'months') dayjs(endTime).diff(dayjs(startTime), 'days') dayjs(end 阅读全文
posted @ 2023-02-28 17:05 Chaplink 阅读(513) 评论(0) 推荐(0) 编辑
摘要: 引:https://blog.csdn.net/weCat_s/article/details/120891126?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default- 阅读全文
posted @ 2023-02-28 17:05 Chaplink 阅读(2187) 评论(0) 推荐(0) 编辑
摘要: 参考文章: linux安装java:https://www.jianshu.com/p/3954fdf6063a linux安装tomcat:https://blog.csdn.net/m0_59347746/article/details/125716012 tomcat搭建图片服务器:https 阅读全文
posted @ 2023-02-21 23:13 Chaplink 阅读(179) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_42859450/article/details/127411453 //v-for设置ref及其使用 <template> <component v-for="item in cptArr" :key="item.type" :ref="setIt 阅读全文
posted @ 2023-02-15 16:07 Chaplink 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/just_didi/article/details/125427169 不管怎么点,怎么选,只能切换到每个月的一号,后面查找了很多文章 发现上述文章提到的 将yyyy-MM-dd改成 YYYY-MM-DD 解决 阅读全文
posted @ 2023-01-31 16:49 Chaplink 阅读(982) 评论(0) 推荐(1) 编辑
摘要: 借鉴了这位兄弟的思想,进行了优化和vue3.2语法糖改造:https://blog.csdn.net/weixin_45295253/article/details/115582504 实现: <template> <el-form ref="formRef" :model="form"> <el- 阅读全文
posted @ 2023-01-17 09:14 Chaplink 阅读(3367) 评论(0) 推荐(0) 编辑