提交 ab45b098 作者: 方治民

feat: 优化项目配置项

上级 c54146eb
......@@ -23,7 +23,7 @@ export function createFakeUserList() {
userId: '1',
account: 'admin',
realName: 'Basic Admin',
avatar: 'https://q1.qlogo.cn/g?b=qq&nk=190848757&s=640',
avatar: 'https://files.catbox.moe/96nu4q.jpg',
desc: 'manager',
password: '123456',
token: 'fakeToken1',
......
......@@ -71,7 +71,7 @@ const setting: ProjectConfig = {
// Whether to show the document button
showDoc: true,
// Whether to show the notification button
showNotice: true,
showNotice: false,
// Whether to display the menu search
showSearch: true,
},
......@@ -79,7 +79,7 @@ const setting: ProjectConfig = {
// Menu configuration
menuSetting: {
// sidebar menu bg color
bgColor: SIDE_BAR_BG_COLOR_LIST[0],
bgColor: SIDE_BAR_BG_COLOR_LIST[3],
// Whether to fix the left menu
fixed: true,
// Menu collapse
......@@ -100,9 +100,9 @@ const setting: ProjectConfig = {
// Menu mode
mode: MenuModeEnum.INLINE,
// Menu type
type: MenuTypeEnum.SIDEBAR,
type: MenuTypeEnum.MIX,
// Menu theme
theme: ThemeEnum.DARK,
theme: ThemeEnum.LIGHT,
// Split menu
split: false,
// Top menu layout
......@@ -123,7 +123,7 @@ const setting: ProjectConfig = {
multiTabsSetting: {
cache: false,
// Turn on
show: true,
show: false,
// Is it possible to drag and drop sorting tabs
canDrag: true,
// Turn on quick actions
......@@ -148,7 +148,7 @@ const setting: ProjectConfig = {
openPageLoading: true,
// Whether to open the top progress bar
openNProgress: false,
openNProgress: true,
},
// Whether to enable KeepAlive cache is best to close during development, otherwise the cache needs to be cleared every time
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论