From c40e9437492f6973e631f42d8859d50182f777df Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期一, 24 一月 2022 10:01:36 +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