fix: 修复 dashboard 的部分编译错误 (#3041)

* chore(dashboard): adding missing dependency

* fix(dashboard): 修复vertical-header中 $router 类型错误
This commit is contained in:
Dt8333
2025-10-16 10:32:08 +08:00
committed by GitHub
parent 23f13ef05f
commit ed6cdfedbb
2 changed files with 2 additions and 1 deletions

View File

@@ -44,6 +44,7 @@
"@mdi/font": "7.2.96",
"@rushstack/eslint-patch": "1.3.3",
"@types/chance": "1.1.3",
"@types/markdown-it": "^14.1.2",
"@types/node": "^20.5.7",
"@vitejs/plugin-vue": "4.3.3",
"@vue/eslint-config-prettier": "8.0.0",

View File

@@ -311,7 +311,7 @@ commonStore.getStartTime();
<v-icon>mdi-menu</v-icon>
</v-btn>
<div class="logo-container" :class="{ 'mobile-logo': $vuetify.display.xs }" @click="$router.push('/about')">
<div class="logo-container" :class="{ 'mobile-logo': $vuetify.display.xs }" @click="router.push('/about')">
<span class="logo-text">Astr<span class="logo-text-light">Bot</span></span>
<span class="version-text hidden-xs">{{ botCurrVersion }}</span>
</div>