From 958f5a5abc6b5d4efee768d0b181078c25d4199e Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期五, 21 一月 2022 19:09:38 +0800 Subject: [PATCH] 升级富文本,可上传视频 --- src/pages/system/basic.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/system/basic.vue b/src/pages/system/basic.vue index 0a1403c..828c5e7 100644 --- a/src/pages/system/basic.vue +++ b/src/pages/system/basic.vue @@ -15,7 +15,7 @@ <!-- 涓婁紶鍥剧墖缁勪欢(鍗曞浘) --> <UploadSingleImg ref="refUploadImg" - v-model="dialogData.uploadShareImgs" + v-model="basicData.uploadShareImgs" @change.capture="$refs['basicForm'].clearValidate()" /> </el-form-item> @@ -37,8 +37,8 @@ import mixin_upload from '@/mixins/upload.js' // 閫氱敤涓婁紶鍥剧墖棰勮 import UploadSingleImg from '@/components_simple/UploadSingleImg' export default { - components: {}, - mixins: [mixin_upload, UploadSingleImg], + components: { UploadSingleImg }, + mixins: [mixin_upload], data() { return { basicData: { @@ -94,7 +94,7 @@ if (valid) { // 涓婁紶鍥剧墖 this.$refs.refUploadImg.runUploadImg((imgUrl) => { - imgUrl && this.$set(this.dialogData, 'shareImg', imgUrl) + imgUrl && this.$set(this.basicData, 'shareImg', imgUrl) this.submitReq() }) } -- Gitblit v1.8.0