Browse Source

fix: 销售政策编辑上传文件不回显着问题

zh 2 years ago
parent
commit
67bbb4303e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/sales_policy/components/editPolicy.vue

+ 2 - 2
src/views/sales_policy/components/editPolicy.vue

@@ -835,9 +835,9 @@ export default {
           commercialType: this.detail.commercialType
           commercialType: this.detail.commercialType
         }
         }
         this.region = res.data.flag
         this.region = res.data.flag
-
+ 
         // this.srcList = [this.$imageUrl + this.detail.imgSrc]
         // this.srcList = [this.$imageUrl + this.detail.imgSrc]
-        if (this.isShow === 5 && this.detail.imgSrc) {
+        if (this.isShow === 3 && this.detail.imgSrc) {
           this.detail.imgSrc.split(',').forEach(k => {
           this.detail.imgSrc.split(',').forEach(k => {
             this.fileList.push({
             this.fileList.push({
               hover: '',
               hover: '',