摘要:处理多个图片 <el-form-item label="封面图" prop="pic" :rules="[{ required: true, message: '请传入封面图', trigger: 'blur' }]"> <div class="pic-upload mini-upload"> <e 阅读全文
posted @ 2020-10-20 13:55 gggggggxin 阅读(12) 评论(0) 推荐(0) 编辑
摘要://src/assets/pinyin.js export const pinyin = { 'a': '\u554a\u963f\u9515', 'ai': '\u57c3\u6328\u54ce\u5509\u54c0\u7691\u764c\u853c\u77ee\u827e\u788d\u7 阅读全文
posted @ 2020-10-09 14:47 gggggggxin 阅读(21) 评论(0) 推荐(0) 编辑
摘要:报错 VM17512:1 Failed to load local image resource /pages/Personal/personal/undefinedpersonal/edit.png the server responded with a status of 500 (HTTP/1 阅读全文
posted @ 2020-09-29 10:42 gggggggxin 阅读(52) 评论(0) 推荐(0) 编辑
摘要:解决:用blur 替代 change <el-date-picker @blur="changeTime" v-model="form.time" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholde 阅读全文
posted @ 2020-09-07 17:21 gggggggxin 阅读(91) 评论(0) 推荐(0) 编辑
摘要:报错如下: VM6296:1 WXMLRT_$gwx:./pages/Home/home.wxml:block:1:21250: Now you can provide attr wx:key for a wx:for to improve performance. 错误代码: <view v-fo 阅读全文
posted @ 2020-09-02 14:03 gggggggxin 阅读(49) 评论(0) 推荐(0) 编辑
摘要:错误: vue.runtime.esm.js:619 [Vue warn]: Duplicate keys detected: '7'. This may cause an update error. 错误原因:循环同一个数组。key值需要添加标签字段,解决方案如下 代码 <div v-for="t 阅读全文
posted @ 2020-08-19 11:20 gggggggxin 阅读(138) 评论(0) 推荐(0) 编辑
摘要:.el-upload-list__item { transition: none !important; } 阅读全文
posted @ 2020-08-07 13:21 gggggggxin 阅读(32) 评论(0) 推荐(0) 编辑
摘要:tip:注意draggable v-model绑定 <draggable v-model="fileAll" :move="getdata" @update="datadragEnd()"> <transition-group> <li class="el-upload-list__item is- 阅读全文
posted @ 2020-07-16 10:35 gggggggxin 阅读(189) 评论(0) 推荐(0) 编辑
摘要:同一个table,渲染不同数据,列错乱,数据跑错列 //解决 加上:key <el-table-column v-if="connectTab == 0" :key="Math.random()" type="selection" width="40" align="center" header-a 阅读全文
posted @ 2020-07-08 10:14 gggggggxin 阅读(212) 评论(0) 推荐(0) 编辑
摘要:copy(text) { var Input = document.createElement('input'); //创建一个隐藏input(重要!) Input.value = text; //赋值 document.body.appendChild(Input); Input.select() 阅读全文
posted @ 2020-06-18 17:40 gggggggxin 阅读(119) 评论(1) 推荐(1) 编辑