mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-08-15 20:19:45 +08:00
style: modify theme color
This commit is contained in:
parent
f36e47cf25
commit
86a4e9b10b
@ -8,7 +8,7 @@ const locale = zhCN
|
||||
const dateLocale = dateZhCN
|
||||
const appStore = useAppStore()
|
||||
|
||||
const themeOverrides: GlobalThemeOverrides = {} || themeConfig
|
||||
const themeOverrides: GlobalThemeOverrides = themeConfig || {}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -14,9 +14,8 @@ export function setupRouterGuard(router: Router) {
|
||||
// 开始 NProgress
|
||||
window.$NProgress?.start()
|
||||
|
||||
// 权限操作
|
||||
const routeStore = useRouteStore()
|
||||
// 判断有无TOKEN,登录鉴权
|
||||
const routeStore = useRouteStore()
|
||||
const isLogin = Boolean(local.get('token'))
|
||||
if (!isLogin) {
|
||||
if (to.name === 'login')
|
||||
|
Loading…
x
Reference in New Issue
Block a user