mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 16:28:49 +08:00
更新依赖
This commit is contained in:
@@ -2,7 +2,7 @@ import router from '@/router'
|
||||
|
||||
export default function useMainPage() {
|
||||
function reload() {
|
||||
void router.push({
|
||||
router.push({
|
||||
name: 'reload',
|
||||
})
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ export default function useMenu() {
|
||||
function switchTo(index: number | string) {
|
||||
menuStore.setActived(index)
|
||||
if (settingsStore.menu.switchMainMenuAndPageJump) {
|
||||
void router.push(menuStore.sidebarMenusFirstDeepestPath)
|
||||
router.push(menuStore.sidebarMenusFirstDeepestPath)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user