-
Notifications
You must be signed in to change notification settings - Fork 3
配置文件 #55
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Type
Fields
Give feedbackNo fields configured for issues without a type.
在本系统中配置主要分为两种:
config文件,可以对当前页面进行快速的配置。global.config.ts文件,对全局的配置进行管理。页面配置
页面级的配置主要是针对该路由的页面进行功能配置。 比如如果你在登录注册的页面里不想要某些功能,就可以在
src/pages/login的目录下面找到config.ts文件,对暴露出来的配置进行修改来剔除自己不想要的部分全局配置
全局配置主要包括一些全局的常量配置,比如我们后台管理系统中最常用的结构的就是左侧导航右侧内容区,但是总有一些页面你是不想要使用这种布局的,所以就可以设置独立显示的页面路由,比如
const indepenPage = ['/login'],这样登录页面就是一个独立显示的页面,而不是左侧导航的那种layout