优化台桌状态
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user