|
@@ -54,9 +54,6 @@ const request = config => {
|
|
|
showConfirm('登录状态已过期,您可以继续留在该页面,或者重新登录?').then(res => {
|
|
|
if (res.confirm) {
|
|
|
const auth = cacheManager.get('auth')
|
|
|
- if (auth) {
|
|
|
- cacheManager.clearAll()
|
|
|
- }
|
|
|
if (auth.type == 2 || auth.type == 5) {
|
|
|
uni.reLaunch({
|
|
|
url: '/pages/Login/index'
|
|
@@ -74,9 +71,6 @@ const request = config => {
|
|
|
showConfirm('登录状态已过期,您可以继续留在该页面,或者重新登录?').then(res => {
|
|
|
if (res.confirm) {
|
|
|
const auth = cacheManager.get('auth')
|
|
|
- if (auth) {
|
|
|
- cacheManager.clearAll()
|
|
|
- }
|
|
|
if (auth.type == 2 || auth.type == 5) {
|
|
|
uni.reLaunch({
|
|
|
url: '/pages/Login/index'
|