From e4b7845d0e3a67c01afc5a0c8a268fad898296fe Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Thu, 17 Apr 2025 14:04:03 +0800
Subject: [PATCH] 修改
---
src/store/modules/user.js | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 8461d2e..a4022f8 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -32,10 +32,11 @@
Cookies.set('userInfo',JSON.stringify(info.data))
}
if(info.data.userType != 0){
- const con = await getConfigById(res.data.companyId);
- if(con.code === 200){
- Cookies.set('configInfo',JSON.stringify(con.data))
- }
+ Cookies.set('configInfo',{})
+ // const con = await getConfigById(res.data.companyId);
+ // if(con.code === 200){
+ // Cookies.set('configInfo',JSON.stringify(con.data))
+ // }
}
}
this.token = res.data.token
--
Gitblit v1.9.2