许成详 пре 6 година
родитељ
комит
ab500d0ab6
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2
    1
      src/pages/user/placeOrderDetail/index.vue

+ 2
- 1
src/pages/user/placeOrderDetail/index.vue Прегледај датотеку

@@ -73,7 +73,7 @@
73 73
         <div class="back" @click="popBack">返回等待</div>
74 74
       </div>
75 75
     </div>
76
-    <div class="layerBg" :class="{'active': !ajaxoff}"></div>
76
+    <!-- <div class="layerBg" :class="{'active': !ajaxoff}"></div> -->
77 77
   </div>
78 78
 </template>
79 79
 
@@ -131,6 +131,7 @@ export default {
131 131
     this.getCouponList().then((res) => {
132 132
       // console.log(JSON.stringify(res))
133 133
       var id = JSON.parse(this.$route.query.info)[0].id, arr = [], nowDate = Date.now()
134
+      res = res || []
134 135
       for (var n = 0; n < res.length; n++) {
135 136
         res[n].Coupon.Targets = res[n].Coupon.Targets || []
136 137
         if (res[n].Coupon.CouponType === 'goods' && res[n].Status === 1) {