fix
Showing
1 changed file
with
1 additions
and
0 deletions
| ... | @@ -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 | } | ... | ... |
-
Please register or sign in to post a comment