上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: 需要主动触发 watch:{ 'editform.h_photo'(val) { let that = this; that.$refs.editform.validateField('h_photo'); }, } //初始化 let that = this; this.$nextTick(() 阅读全文
posted @ 2020-12-18 09:34 gggggggxin 阅读(191) 评论(0) 推荐(0) 编辑
摘要: //父级 加 display: -webkit-box; display:flex; //多行 display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-spa 阅读全文
posted @ 2020-12-17 08:26 gggggggxin 阅读(101) 评论(0) 推荐(0) 编辑
摘要: .cimage { margin: 20rpx 0; display: flex; flex-wrap: wrap; .cimage-li { width: 216rpx; height: 216rpx; margin-right: 3%; display: flex; align-items: c 阅读全文
posted @ 2020-12-10 08:37 gggggggxin 阅读(111) 评论(0) 推荐(0) 编辑
摘要: //解决方案 <el-table v-loading="loading" ref="table" height="100%" :data="tableData" style="width: 100%" border></el-table> let that = this; this.$nextTic 阅读全文
posted @ 2020-12-08 09:58 gggggggxin 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 参考TinyMce中文文档 因为要使用TinyMce图片批量上传插件,如果使用npm导入tinyMce会无法使用,所以得另外导入应用 1.下载tinyMce 放入 assets文件夹中 2.新建公用组件tinymce.vue //views/Public/tinymce.vue <template> 阅读全文
posted @ 2020-12-04 13:39 gggggggxin 阅读(3137) 评论(0) 推荐(0) 编辑
摘要: 1.npm 引入包 npm install --save qrcode 2.对应页面引入 <canvas ref="qrcode_ban"></canvas> import QRCode from 'qrcode'; // 生成二维码 url是生成二维码的链接 useqrcode(name, url 阅读全文
posted @ 2020-12-04 09:12 gggggggxin 阅读(1186) 评论(0) 推荐(0) 编辑
摘要: 原因:因为dialog不是销毁组件,是隐藏组件 解决:加上v-if <el-dialog title="添加" :visible.sync="dialogVisible" class="dialog-content" width="600px" v-if="dialogVisible"> <div 阅读全文
posted @ 2020-12-04 08:53 gggggggxin 阅读(1305) 评论(0) 推荐(0) 编辑
摘要: 添加keepalive的生命周期 activated() { this.getList(); } 阅读全文
posted @ 2020-11-27 16:01 gggggggxin 阅读(259) 评论(0) 推荐(0) 编辑
摘要: store写了公用方法,每个页面请求接收 onLoad(option) { uni.showLoading({ title: '加载中', }); if (option.scene) { let obj = {}; this.$store.dispatch('setting/setOption', 阅读全文
posted @ 2020-11-23 10:33 gggggggxin 阅读(516) 评论(1) 推荐(1) 编辑
摘要: 使用方法 微信小程序JavaScript SDK; 采用腾讯地图sdk <template> <view> <view> <map :latitude="latitude" :longitude="longitude" :markers="markers" class="map"></map> <v 阅读全文
posted @ 2020-11-10 17:16 gggggggxin 阅读(2420) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页