From 817f8b5f25e08499e7e90b38c002e74131d57c17 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期五, 18 四月 2025 14:30:12 +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