src/pages/mine/index.vue @@ -252,6 +252,7 @@ if (res.confirm) { userStore.logout(); toast.show("已退出登录"); uni.reLaunch({ url: "/pages/login/index" }); } }, });