yangan
2024-06-07 dd40769e3c2dac33693fa5765b216540a4ce5cf9
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
   })