更新依赖

This commit is contained in:
hooray
2022-12-03 16:00:32 +08:00
parent 68f45dd7dc
commit 1c5cef936e
6 changed files with 160 additions and 170 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import router from '@/router'
export default function useMainPage() {
function reload() {
void router.push({
router.push({
name: 'reload',
})
}
+1 -1
View File
@@ -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)
}
}