提交 ab45b098 作者: 方治民

feat: 优化项目配置项

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