From 9f3f35fe52f2c95e64199557c640d2ad024c9c42 Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期三, 29 九月 2021 14:41:01 +0800 Subject: [PATCH] 上架 回填isup给接口 --- 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