فهرست منبع

bugfix:修复拼团详情错误传递 groupon_id 的问题

YunaiV 1 سال پیش
والد
کامیت
a816582206
2فایلهای تغییر یافته به همراه3 افزوده شده و 4 حذف شده
  1. 1 2
      pages/order/detail.vue
  2. 2 2
      pages/order/list.vue

+ 1 - 2
pages/order/detail.vue

@@ -211,13 +211,12 @@
         >
           继续支付
         </button>
-        <!-- TODO 芋艿:拼团接入 -->
         <button
           class="ss-reset-button cancel-btn"
           v-if="state.orderInfo.buttons?.includes('combination')"
           @tap="
             sheep.$router.go('/pages/activity/groupon/detail', {
-              id: state.orderInfo.ext.groupon_id,
+              id: state.orderInfo.combinationRecordId,
             })
           "
         >

+ 2 - 2
pages/order/list.vue

@@ -144,10 +144,10 @@
 		});
 	}
 
-	// 分享拼团 TODO 芋艿:待测试
+	// 跳转拼团记录的详情
 	function onOrderGroupon(order) {
 		sheep.$router.go('/pages/activity/groupon/detail', {
-			id: order.ext.groupon_id,
+			id: order.combinationRecordId,
 		});
 	}