Browse Source

修改bug

chenrui 11 tháng trước cách đây
mục cha
commit
28f0a82e0a

+ 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
         }
       })