退出登录跳转至扫码页/完成交易页增加查看订单详情按钮
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Successful in 50s

This commit is contained in:
kk
2026-07-11 16:41:57 +08:00
parent a9ec1092d5
commit 4292c0f819
2 changed files with 21 additions and 6 deletions
+1 -5
View File
@@ -500,11 +500,7 @@ export default {
uni.clearStorageSync();
uni.showToast({ title: '已退出登录', icon: 'success' });
setTimeout(() => {
// 跳转到干净的URL,去掉code/state参数,避免重复使用旧code
const url = new URL(window.location.href);
url.searchParams.delete('code');
url.searchParams.delete('state');
window.location.href = url.toString();
uni.reLaunch({ url: '/pages/index/scan' });
}, 1000);
},
onVConsoleChange(e) {