feat(config): 添加自定义首页配置并优化导航功能

-增加自定义首页配置项,支持设置不同的首页组件
-优化导航功能,添加固定首页到导航栏
- 重构路由生成逻辑,支持自定义签到页和首页
- 更新组件以适应新的导航结构
This commit is contained in:
aixianling
2024-12-23 14:19:00 +08:00
parent 9ff89c19f3
commit b7c0350134
5 changed files with 17 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
<template>
<section class="AppSystemAccount">
<section class="AppAccountManage">
<ai-page title="账号管理">
<ai-area-tree :root-id="rootArea" slot="left" v-model="search.areaId" range="3" @input="page.pageNum=1,getTableData()"/>
<ai-search-bar>
@@ -66,7 +66,7 @@
import {mapState} from "vuex";
export default {
name: "AppSystemAccount",
name: "AppAccountManage",
label: "账号管理",
props: {
instance: Function,
@@ -225,7 +225,7 @@ export default {
</script>
<style lang="scss" scoped>
.AppSystemAccount {
.AppAccountManage {
height: 100%;
:deep(.avatar) {