From 27d01f3731d0737d8ffb61fd4c15829d10a6a7dd Mon Sep 17 00:00:00 2001 From: wk Date: 星期四, 06 六月 2024 15:20:59 +0800 Subject: [PATCH] feta:注册时间 --- utils/status.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/utils/status.js b/utils/status.js index 08ae5c6..e930f61 100644 --- a/utils/status.js +++ b/utils/status.js @@ -21,7 +21,9 @@ }) } export const redirectLogin = (path) => { + let data=uni.getStorageSync('userList')?JSON.parse(uni.getStorageSync('userList')):[]; uni.clearStorageSync(); + uni.setStorageSync("userList", JSON.stringify(data)) uni.reLaunch({ url: path || FailRedirect }) -- Gitblit v1.9.1