22ed5ecb by lihua

fix

1 parent 03b5fd9a
...@@ -66,6 +66,7 @@ const useUserStore = defineStore( ...@@ -66,6 +66,7 @@ const useUserStore = defineStore(
66 if (info.code == '00000') { 66 if (info.code == '00000') {
67 localStorage.setItem('userInfoData', JSON.stringify(info.data)); 67 localStorage.setItem('userInfoData', JSON.stringify(info.data));
68 userInfoData.value = info.data; 68 userInfoData.value = info.data;
69 window.location.href = location.origin + info.data[0].menuList[0].path
69 } else { 70 } else {
70 ElMessage.error(info.msg) 71 ElMessage.error(info.msg)
71 } 72 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!