Browse Source

修改bug

chenrui 11 tháng trước cách đây
mục cha
commit
6c0fc6c82f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/promotionManagement/promotionInfo/edit.vue

+ 1 - 1
src/views/promotionManagement/promotionInfo/edit.vue

@@ -455,7 +455,7 @@ export default {
           if (res.data.images) {
             const images = res.data.images.split(',')
             _this.imageSet = images
-            if (this.pageType === 'add') {
+            if (this.pageType === 'add' || (this.pageType === 'edit' && res.data.publishState != 'PUBLISH')) {
               _this.$refs.imageSet.setFileList(images)
             }
           }