退出登录跳到扫码页

This commit is contained in:
kk
2026-07-11 16:49:32 +08:00
parent 4292c0f819
commit a08afd0cfd
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -500,6 +500,7 @@ export default {
uni.clearStorageSync();
uni.showToast({ title: '已退出登录', icon: 'success' });
setTimeout(() => {
uni.setStorageSync('__logout_flag', true);
uni.reLaunch({ url: '/pages/index/scan' });
}, 1000);
},