소스 검색

修改bug

chenrui 11 달 전
부모
커밋
6c0fc6c82f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
             }
           }