!49 update pages/index/login.vue.

Merge pull request !49 from 天痕/N/A
This commit is contained in:
芋道源码
2024-03-09 10:35:24 +00:00
committed by Gitee
+1 -1
View File
@@ -26,7 +26,7 @@
// 检测 H5 登录回调
let returnUrl = uni.getStorageSync('returnUrl');
if (returnUrl) {
uni.removeStorage('returnUrl');
uni.removeStorage({key:'returnUrl'});
location.replace(returnUrl);
} else {
uni.switchTab({