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