fix(orders): drop secondary "我的余额/会员/积分" link from detail modal
The user center already has a dedicated tab for these; showing the secondary shortcut inside the order detail modal is redundant noise. The view-model field is kept for other consumers.
This commit is contained in:
@@ -610,9 +610,6 @@
|
||||
if (actions.can_view_product && order.permalink) {
|
||||
footer += '<a class="btn-ghost" href="' + escapeHtml(order.permalink) + '">查看商品</a>';
|
||||
}
|
||||
if (order.secondary_url && order.secondary_label) {
|
||||
footer += '<a class="btn-ghost" href="' + escapeHtml(order.secondary_url) + '">' + escapeHtml(order.secondary_label) + "</a>";
|
||||
}
|
||||
if (footer === "") {
|
||||
footer = '<button type="button" class="btn-outline" data-aksrt-order-detail-close>关闭</button>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user