mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-21 03:19:19 +08:00
perf: 代码优化 router/index
This commit is contained in:
parent
bf29e0e52a
commit
b2da13b34a
@ -287,7 +287,7 @@ export function resetRouter() {
|
||||
router.hasRoute(name) && router.removeRoute(name)
|
||||
}
|
||||
})
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// 强制刷新浏览器也行,只是交互体验不是很好
|
||||
window.location.reload()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user