update pages/index/login.vue.
移除回调,用法错误 Signed-off-by: 天痕 <614891294@qq.com>
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
// 检测 H5 登录回调
|
// 检测 H5 登录回调
|
||||||
let returnUrl = uni.getStorageSync('returnUrl');
|
let returnUrl = uni.getStorageSync('returnUrl');
|
||||||
if (returnUrl) {
|
if (returnUrl) {
|
||||||
uni.removeStorage('returnUrl');
|
uni.removeStorage({key:'returnUrl'});
|
||||||
location.replace(returnUrl);
|
location.replace(returnUrl);
|
||||||
} else {
|
} else {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
|
|||||||
Reference in New Issue
Block a user