b7b8ee00 by lihua

fix

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