Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
张凯
2023-05-23 18:29:01 +0800
Commit
59cfc8c4d30014d062187bd6cdfa3c889f10a0d3
1 parent
2d7a04a8
fix:修复监控localStorage缓存lgn错误问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
hg-monitor-web-base/src/main/resources/static/start/layui/lay/modules/layer.js
hg-monitor-web-base/src/main/resources/static/start/layui/lay/modules/layer.js
View file @
59cfc8c
...
...
@@ -285,7 +285,7 @@
let
d
=
res
.
data
;
localStorage
.
setItem
(
"mj-user-info"
,
JSON
.
stringify
(
d
))
if
(
d
.
user
){
localStorage
.
setItem
(
"lgn"
,
d
.
user
.
id
);
localStorage
.
setItem
(
"lgn"
,
d
.
user
.
username
);
session
.
putUser
(
d
.
user
.
username
);
}
...
...
Please
register
or
login
to post a comment