diff --git a/pages/index/login.vue b/pages/index/login.vue index 3ef6f525..b2c82a4a 100644 --- a/pages/index/login.vue +++ b/pages/index/login.vue @@ -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({