mod: reload page
This commit is contained in:
parent
738212c84b
commit
2f3a83758a
@ -87,7 +87,7 @@ function handleMenuSelect(key, item) {
|
|||||||
if (isExternal(item.path)) {
|
if (isExternal(item.path)) {
|
||||||
window.open(item.path)
|
window.open(item.path)
|
||||||
} else {
|
} else {
|
||||||
if (item.path === currentRoute.value.path && !currentRoute.value.meta?.keepAlive) {
|
if (item.path === currentRoute.value.path) {
|
||||||
appStore.reloadPage()
|
appStore.reloadPage()
|
||||||
} else {
|
} else {
|
||||||
router.push(item.path)
|
router.push(item.path)
|
||||||
|
Loading…
Reference in New Issue
Block a user