fix: 禁止toDetails

This commit is contained in:
zhangds 2024-03-19 16:20:25 +08:00
parent 0325454c9f
commit 09255aba7d
1 changed files with 2 additions and 1 deletions

View File

@ -227,7 +227,8 @@
}, },
/* 立即支付按钮 */ /* 立即支付按钮 */
immediatelyPay(item) { immediatelyPay(item, event) {
event.stopPropagation();
localStorage.setItem('goodsInfo', JSON.stringify(item)); localStorage.setItem('goodsInfo', JSON.stringify(item));
window.location.href = `./settlement.html?orderNumber=${item.order_number}&payType=${item.pay_type}`; window.location.href = `./settlement.html?orderNumber=${item.order_number}&payType=${item.pay_type}`;
}, },