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

This commit is contained in:
YunaiV
2024-03-30 15:28:29 +08:00
parent d2c4b9efc9
commit a816582206
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -211,13 +211,12 @@
> >
继续支付 继续支付
</button> </button>
<!-- TODO 芋艿:拼团接入 -->
<button <button
class="ss-reset-button cancel-btn" class="ss-reset-button cancel-btn"
v-if="state.orderInfo.buttons?.includes('combination')" v-if="state.orderInfo.buttons?.includes('combination')"
@tap=" @tap="
sheep.$router.go('/pages/activity/groupon/detail', { sheep.$router.go('/pages/activity/groupon/detail', {
id: state.orderInfo.ext.groupon_id, id: state.orderInfo.combinationRecordId,
}) })
" "
> >
+2 -2
View File
@@ -144,10 +144,10 @@
}); });
} }
// 分享拼团 TODO 芋艿:待测试 // 跳转拼团记录的详情
function onOrderGroupon(order) { function onOrderGroupon(order) {
sheep.$router.go('/pages/activity/groupon/detail', { sheep.$router.go('/pages/activity/groupon/detail', {
id: order.ext.groupon_id, id: order.combinationRecordId,
}); });
} }