Authored by QC-L

修复点击删除直接跳转订单详情的 bug

... ... @@ -104,8 +104,6 @@ $('#group-order').on('click', function(e) {
// $refundReaMask.data('orderId', id);
if ($cur.closest('.list-cell-content').length > 0) {
window.location.href = `/home/orderdetail?order_code=${id}`;
} else if ($cur.closest('.list-cell-footer').length > 0) {
window.location.href = `/home/orderdetail?order_code=${id}`;
} else if ($cur.closest('.del').length > 0) {
// Order delete
... ... @@ -171,6 +169,8 @@ $('#group-order').on('click', function(e) {
// $reaMask.css('visibility', 'visible');
});
} else if ($cur.closest('.list-cell-footer').length > 0) {
window.location.href = `/home/orderdetail?order_code=${id}`;
}
});
... ...