fix: 暂存

This commit is contained in:
2026-06-18 09:19:23 +08:00
parent a382f36461
commit ab9e77669c
3 changed files with 3 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
</n-popover> </n-popover>
<div class="feature"> <div class="feature">
<n-icon color="#fff" size="30"><SettingsSharp /></n-icon> <n-icon color="#fff" :size="26"><SettingsSharp /></n-icon>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -41,7 +41,7 @@ import UserBar from '@/components/User/UserBar.vue'
.base-layout__topbar { .base-layout__topbar {
display: flex; display: flex;
width: 100%; width: 100%;
height: 40px; height: 30px;
background-color: #fde68a; // amber-200 background-color: #fde68a; // amber-200
} }

View File

@@ -20,6 +20,7 @@ function isPublicPath(path: string): boolean {
*/ */
function setupCommonGuard(router: Router) { function setupCommonGuard(router: Router) {
router.beforeEach(async (to) => { router.beforeEach(async (to) => {
return true
const accountStore = useAccountStore() const accountStore = useAccountStore()
// 已登录用户访问公开路由(如登录页),直接跳转首页 // 已登录用户访问公开路由(如登录页),直接跳转首页