wjt
2024-06-27 69a74309ed12cc13f0fa9fb90c5bffad17ade360
common/http.interceptor.js
@@ -60,14 +60,14 @@
            // vm.$u.vuex('userInfo', null)
            // vm.$u.vuex('token', null)
            // uni.removeStorageSync("sessionToken")
            // uni.clearStorageSync() // 清楚所有的缓存
            uni.clearStorageSync() // 清楚所有的缓存
            uni.showToast({
               title: '授权过期,请重新登录',
               icon: 'none',
               mask: true
            })
            setTimeout(() => {
               uni.navigateTo({
               uni.reLaunch({
                  url: '/pages/index/index'
               })
            }, 900)