From 31996b716f04d3bce02f181ef89adaf28a0de24e Mon Sep 17 00:00:00 2001 From: testadmin Date: Wed, 13 May 2026 13:49:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=B8=85=E7=A9=BA=E6=B5=8F=E8=A7=88=E5=99=A8=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E6=A0=88=EF=BC=8C=E9=98=B2=E6=AD=A2=E8=BF=94=E5=9B=9E=E9=94=AE?= =?UTF-8?q?=E5=9B=9E=E5=88=B0=E6=B8=B8=E6=88=8F=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/user/index.vue b/pages/user/index.vue index 82db8c6..0ce6877 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -150,7 +150,11 @@ export default { }, confirmLogout() { localStorage.removeItem("userInfo"); - this.$router.replace({ path: "/" }); + localStorage.removeItem("uni_id_token"); + sessionStorage.clear(); + const backSteps = window.history.length - 1; + window.history.go(-backSteps); + setTimeout(() => { window.location.replace("/"); }, 200); }, getUserMoneyData() { var that = this