优化台桌状态

This commit is contained in:
gyq
2025-05-10 15:15:43 +08:00
parent 4d939b2889
commit 2ba61eab19
7 changed files with 113 additions and 105 deletions

View File

@@ -473,10 +473,10 @@ async function confirmOrder() {
} catch (error) {
console.log(error);
payLoading.value = false;
if (error.code == 1003) {
ElMessage.error(error.msg)
return
}
// if (error.code == 1003) {
// ElMessage.error(error.msg)
// return
// }
if (error.code == 701) {
// 订单已过期需刷新购物车和订单
emit('orderExpired')