mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-08-16 05:09:47 +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 dateLocale = dateZhCN
|
||||||
const appStore = useAppStore()
|
const appStore = useAppStore()
|
||||||
|
|
||||||
const themeOverrides: GlobalThemeOverrides = {} || themeConfig
|
const themeOverrides: GlobalThemeOverrides = themeConfig || {}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -14,9 +14,8 @@ export function setupRouterGuard(router: Router) {
|
|||||||
// 开始 NProgress
|
// 开始 NProgress
|
||||||
window.$NProgress?.start()
|
window.$NProgress?.start()
|
||||||
|
|
||||||
// 权限操作
|
|
||||||
const routeStore = useRouteStore()
|
|
||||||
// 判断有无TOKEN,登录鉴权
|
// 判断有无TOKEN,登录鉴权
|
||||||
|
const routeStore = useRouteStore()
|
||||||
const isLogin = Boolean(local.get('token'))
|
const isLogin = Boolean(local.get('token'))
|
||||||
if (!isLogin) {
|
if (!isLogin) {
|
||||||
if (to.name === 'login')
|
if (to.name === 'login')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user