支付返回问题修复

This commit is contained in:
2025-11-27 19:10:18 +08:00
parent fd55c815d3
commit 4ef95c9baa
2 changed files with 11 additions and 5 deletions

View File

@@ -1228,7 +1228,9 @@ async function pay(par) {
}
if (error.code == 701) {
uni.removeStorageSync("table_code");
uni.navigateBack();
uni.navigateBack({
delta: 2,
});
}
payStatus = "";
return false;
@@ -1254,7 +1256,7 @@ function paySuccess() {
uni.$emit("get:table");
uni.$emit("update:orderDetail");
uni.navigateBack({
delta: 1,
delta: 2,
});
websocketUtil.send(
JSON.stringify({