Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
fa71f852
authored
Oct 14, 2023
by
芋道源码
Committed by
Gitee
Oct 14, 2023
Browse files
Options
Browse Files
Download
Plain Diff
!265 修复,刷新菜单缓存失效问题
Merge pull request !265 from 天痕/N/A
parents
529a821c
fff4cfd0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
src/views/system/menu/index.vue
+1
-0
No files found.
src/views/system/menu/index.vue
View file @
fa71f852
...
...
@@ -188,6 +188,7 @@ const refreshMenu = async () => {
try
{
await
message
.
confirm
(
'即将更新缓存刷新浏览器!'
,
'刷新菜单缓存'
)
// 清空,从而触发刷新
wsCache
.
delete
(
CACHE_KEY
.
USER
)
wsCache
.
delete
(
CACHE_KEY
.
ROLE_ROUTERS
)
// 刷新浏览器
location
.
reload
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment