From f6fefe3aef080c62d9e89c6033f7afd2afe52be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E7=97=95?= <614891294@qq.com> Date: Tue, 5 Mar 2024 05:55:36 +0000 Subject: [PATCH] =?UTF-8?q?update=20pages/index/login.vue.=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E5=9B=9E=E8=B0=83=EF=BC=8C=E7=94=A8=E6=B3=95=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 天痕 <614891294@qq.com> --- pages/index/login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({