chenrui 11 месяцев назад
Родитель
Сommit
28f0a82e0a
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/views/promotionManagement/promotionInfo/detailModal.vue

+ 4 - 4
src/views/promotionManagement/promotionInfo/detailModal.vue

@@ -259,14 +259,14 @@ export default {
             this.$nextTick(() => {
               this.getTreeData()
             })
-            if (res.data.images) {
-              this.form.imageSet = res.data.images
-              this.imageSet = res.data.images.split(',')
-            }
             if (res.data.promoRule.productRangeList && res.data.promoRule.productRangeList.productRangeList.length > 0) {
               this.form.promoRule.productRangeList = res.data.promoRule.productRangeList.map(item => { return item.productTypeSn })
             }
           }
+          if (res.data.images) {
+            this.form.imageSet = res.data.images
+            this.imageSet = res.data.images.split(',')
+          }
           this.form = res.data
         }
       })