Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
deeb0b1c
authored
2025-02-20 10:09:26 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
1594d96a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/store/modules/user.ts
src/store/modules/user.ts
View file @
deeb0b1
...
...
@@ -65,7 +65,7 @@ const useUserStore = defineStore(
if
(
info
.
code
==
'00000'
)
{
localStorage
.
setItem
(
'userInfoData'
,
JSON
.
stringify
(
info
.
data
));
userInfoData
.
value
=
info
.
data
;
window
.
location
.
href
=
location
.
origin
+
info
.
data
[
0
].
menuList
[
0
].
path
//
window.location.href = location.origin + info.data[0].menuList[0].path
}
else
{
ElMessage
.
error
(
info
.
msg
)
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment