mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-09 21:49:28 +00:00
refactor: route Module structural transformation
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import type { ProjectConfig } from '/@/types/config';
|
||||
|
||||
import { MenuTypeEnum, MenuThemeEnum, MenuModeEnum, TriggerEnum } from '/@/enums/menuEnum';
|
||||
import { ContentEnum, RouterTransitionEnum } from '/@/enums/appEnum';
|
||||
import { ContentEnum, PermissionModeEnum, RouterTransitionEnum } from '/@/enums/appEnum';
|
||||
import { primaryColor } from '../../build/config/lessModifyVars';
|
||||
import { isProdMode, getRoleMode } from '/@/utils/env';
|
||||
import { isProdMode } from '/@/utils/env';
|
||||
|
||||
// ! You need to clear the browser cache after the change
|
||||
const setting: ProjectConfig = {
|
||||
// Whether to show the configuration button
|
||||
showSettingButton: true,
|
||||
// 权限模式
|
||||
permissionMode: getRoleMode(),
|
||||
permissionMode: PermissionModeEnum.ROLE,
|
||||
// 网站灰色模式,用于可能悼念的日期开启
|
||||
grayMode: false,
|
||||
// 色弱模式
|
||||
|
Reference in New Issue
Block a user