Browse Source

Merge branch 'develop_cuxiao' of http://git.chelingzhu.com/jianguan-web/jg-ocs-html into develop_cuxiao

lilei 1 year ago
parent
commit
996b92859a
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/views/promotionRulesManagement/dealerPromotions/detail.vue

+ 5 - 0
src/views/promotionRulesManagement/dealerPromotions/detail.vue

@@ -218,6 +218,11 @@ export default {
       dealerPromotionInfo({ sn: this.$route.query.sn }).then(res => {
         if (res.status == 200) {
           this.$refs.table.refresh(true)
+          if (res.data && res.data.attachmentList) {
+            res.data.attachmentList.forEach(item => {
+              item.filePath = item.filePath.replace(/^http:\/\//i, 'https://')
+            })
+          }
           this.detailData = res.data || null
         } else {
           this.detailData = null