4d24dead by lihua

fix

1 parent d6ef3200
...@@ -60,6 +60,7 @@ const useUserStore = defineStore( ...@@ -60,6 +60,7 @@ const useUserStore = defineStore(
60 userName.value = res.data.staffName; 60 userName.value = res.data.staffName;
61 localStorage.setItem('userName', res.data?.staffName); 61 localStorage.setItem('userName', res.data?.staffName);
62 localStorage.setItem('userData', JSON.stringify(res.data)); 62 localStorage.setItem('userData', JSON.stringify(res.data));
63 userData.value = localStorage.getItem('userData');
63 return getSystemMenu({ tenantGuid: currentTenantGuid.value }, res.data?.isAdmin == 'Y' && (!res.data?.superTubeFlag || res.data?.superTubeFlag == 'Y')).then((info: any) => { //解决页面调用流程接口传递staffGuid,为空的问题 64 return getSystemMenu({ tenantGuid: currentTenantGuid.value }, res.data?.isAdmin == 'Y' && (!res.data?.superTubeFlag || res.data?.superTubeFlag == 'Y')).then((info: any) => { //解决页面调用流程接口传递staffGuid,为空的问题
64 if (info.code == '00000') { 65 if (info.code == '00000') {
65 localStorage.setItem('userInfoData', JSON.stringify(info.data)); 66 localStorage.setItem('userInfoData', JSON.stringify(info.data));
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!