chenrui 11 kuukautta sitten
vanhempi
commit
6c0fc6c82f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)
             }
           }