!265 修复,刷新菜单缓存失效问题

Merge pull request !265 from 天痕/N/A
This commit is contained in:
芋道源码 2023-10-14 10:15:13 +00:00 committed by Gitee
commit fa71f85221
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -188,6 +188,7 @@ const refreshMenu = async () => {
try {
await message.confirm('即将更新缓存刷新浏览器!', '刷新菜单缓存')
//
wsCache.delete(CACHE_KEY.USER)
wsCache.delete(CACHE_KEY.ROLE_ROUTERS)
//
location.reload()