Преглед на файлове

【誉商城】我的兑换券点击去使用跳转打开对应的活动兑换窗口BUG修复

934589956 преди 5 месеца
родител
ревизия
bc2b9b2355
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/HomeView/MyCenter.vue

+ 1 - 1
src/views/HomeView/MyCenter.vue

@@ -126,7 +126,7 @@
 
                                                 </div>
                                                 <div v-if="item.status == 0" class="status">
-                                                    <router-link :to="{path:'/home/pointsMall/redeem',query: {id: item.skuId,name: 'giftNotice',type: item.actId}}" class="use-btn">
+                                                    <router-link :to="{path:'/home/pointsMall/redeem',query: {id: item.skuId || (item.couponVo && item.couponVo.skuIds && item.couponVo.skuIds[0]),name: 'giftNotice',type: item.actId}}" class="use-btn">
                                                         <span @click="setTab">去使用</span>
                                                     </router-link>
                                                 </div>