许成详 6 years ago
parent
commit
ab500d0ab6
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/pages/user/placeOrderDetail/index.vue

+ 2
- 1
src/pages/user/placeOrderDetail/index.vue View File

@@ -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) {