From 76d2de5bc3e7ee00ba5fd71959cd8389b7c75fce Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期二, 11 六月 2024 15:09:44 +0800 Subject: [PATCH] 库管确认装卸按钮提交字段判断 --- 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