perf:home page
This commit is contained in:
parent
a6e17c2dae
commit
cdbbf89154
@ -124,7 +124,7 @@ const mobile = appStore.getMobile
|
|||||||
</draggable>
|
</draggable>
|
||||||
</ElScrollbar>
|
</ElScrollbar>
|
||||||
<template #reference>
|
<template #reference>
|
||||||
<ElButton link :icon="settings">{{ mobile ? '' : '字段设置' }}</ElButton>
|
<ElButton link :icon="settings">{{ mobile ? '' : '字段显隐' }}</ElButton>
|
||||||
</template>
|
</template>
|
||||||
</ElPopover>
|
</ElPopover>
|
||||||
</ElCol>
|
</ElCol>
|
||||||
|
@ -29,7 +29,7 @@ const loginOut = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const toHome = () => {
|
const toHome = () => {
|
||||||
push('/system/home')
|
push('/home')
|
||||||
}
|
}
|
||||||
|
|
||||||
const toGitee = () => {
|
const toGitee = () => {
|
||||||
|
@ -16,7 +16,25 @@ export const constantRouterMap: AppRouteRecordRaw[] = [
|
|||||||
hidden: true,
|
hidden: true,
|
||||||
title: '首页',
|
title: '首页',
|
||||||
noTagsView: true
|
noTagsView: true
|
||||||
}
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'home',
|
||||||
|
name: 'Home',
|
||||||
|
component: () => import('@/views/Home/Home.vue'),
|
||||||
|
meta: {
|
||||||
|
affix: false,
|
||||||
|
alwaysShow: true,
|
||||||
|
breadcrumb: true,
|
||||||
|
canTo: true,
|
||||||
|
hidden: true,
|
||||||
|
icon: null,
|
||||||
|
noCache: true,
|
||||||
|
noTagsView: false,
|
||||||
|
title: '个人主页'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/login',
|
path: '/login',
|
||||||
@ -93,6 +111,7 @@ const router = createRouter({
|
|||||||
|
|
||||||
export const resetRouter = (): void => {
|
export const resetRouter = (): void => {
|
||||||
const resetWhiteNameList = [
|
const resetWhiteNameList = [
|
||||||
|
'Home',
|
||||||
'Login',
|
'Login',
|
||||||
'NoFind',
|
'NoFind',
|
||||||
'Root',
|
'Root',
|
||||||
|
@ -11,7 +11,7 @@ from fastapi.security import OAuth2PasswordBearer
|
|||||||
"""
|
"""
|
||||||
系统版本
|
系统版本
|
||||||
"""
|
"""
|
||||||
VERSION = "1.9.2"
|
VERSION = "1.9.3"
|
||||||
|
|
||||||
"""安全警告: 不要在生产中打开调试运行!"""
|
"""安全警告: 不要在生产中打开调试运行!"""
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
@ -128,7 +128,7 @@ class SettingsTabDal(DalBase):
|
|||||||
def __init__(self, db: AsyncSession):
|
def __init__(self, db: AsyncSession):
|
||||||
super(SettingsTabDal, self).__init__(db, models.VadminSystemSettingsTab, schemas.SettingsTabSimpleOut)
|
super(SettingsTabDal, self).__init__(db, models.VadminSystemSettingsTab, schemas.SettingsTabSimpleOut)
|
||||||
|
|
||||||
async def get_classify_tab_values(self, classify: List[str], hidden: Union[bool, None] = False):
|
async def get_classify_tab_values(self, classify: List[str], hidden: bool | None = False):
|
||||||
"""
|
"""
|
||||||
获取系统配置分类下的标签信息
|
获取系统配置分类下的标签信息
|
||||||
"""
|
"""
|
||||||
@ -144,7 +144,7 @@ class SettingsTabDal(DalBase):
|
|||||||
)
|
)
|
||||||
return self.__generate_values(datas)
|
return self.__generate_values(datas)
|
||||||
|
|
||||||
async def get_tab_name_values(self, tab_names: List[str], hidden: Union[bool, None] = False):
|
async def get_tab_name_values(self, tab_names: List[str], hidden: bool | None = False):
|
||||||
"""
|
"""
|
||||||
获取系统配置标签下的标签信息
|
获取系统配置标签下的标签信息
|
||||||
"""
|
"""
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user