yangan
2024-06-12 66a74ea7126a5b97361b4d7b9d9520e3e25ede5b
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
   })