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

pull/51/head
YunaiV 2024-03-30 15:28:29 +08:00
parent d2c4b9efc9
commit a816582206
2 changed files with 3 additions and 4 deletions

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,
}) })
" "
> >

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,
}); });
} }