From fa74612c99459a8b4e94121d2d3bfcc42915208b Mon Sep 17 00:00:00 2001
From: tj <1378534974@qq.com>
Date: 星期二, 27 五月 2025 16:08:20 +0800
Subject: [PATCH] loading,wechatLogin

---
 plugins/http.js |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/plugins/http.js b/plugins/http.js
index 412254e..9d895af 100644
--- a/plugins/http.js
+++ b/plugins/http.js
@@ -1,7 +1,7 @@
 import environments from '@/environments'
 import message from './message'
 import storage from './storage'
-import store from '../store'
+// import store from '../store'
 import utils from './util.js'
 
 let pre = 'api'
@@ -107,7 +107,8 @@
 								console.log('resp', res)
 								// storage.removeItem('token')
 								// await store.dispatch('logout')
-								store.commit('updateLogin', false)
+								// TODO 
+								// store.commit('updateLogin', false)
 
 								await message.showToast('登录信息失效')
 
@@ -152,7 +153,8 @@
 						console.log('401', res)
 						// storage.removeItem('token')
 						// await store.dispatch('logout')
-						store.commit('updateLogin', false)
+						// TODO
+						// store.commit('updateLogin', false)
 						await message.showToast('登录信息失效')
 
 

--
Gitblit v1.9.3