fix: 暂存
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
</n-popover>
|
||||
|
||||
<div class="feature">
|
||||
<n-icon color="#fff" size="30"><SettingsSharp /></n-icon>
|
||||
<n-icon color="#fff" :size="26"><SettingsSharp /></n-icon>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -41,7 +41,7 @@ import UserBar from '@/components/User/UserBar.vue'
|
||||
.base-layout__topbar {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
height: 30px;
|
||||
background-color: #fde68a; // amber-200
|
||||
}
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@ function isPublicPath(path: string): boolean {
|
||||
*/
|
||||
function setupCommonGuard(router: Router) {
|
||||
router.beforeEach(async (to) => {
|
||||
return true
|
||||
const accountStore = useAccountStore()
|
||||
|
||||
// 已登录用户访问公开路由(如登录页),直接跳转首页
|
||||
|
||||
Reference in New Issue
Block a user