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

* chore(dashboard): adding missing dependency

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

No files matched your search

+1
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",
@@ -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>