前端重构
This commit is contained in:
@@ -83,9 +83,9 @@ export default defineConfig({
|
||||
* @name layout 插件
|
||||
* @doc https://umijs.org/docs/max/layout-menu
|
||||
*/
|
||||
title: "Ant Design Pro",
|
||||
title: "KRA Admin",
|
||||
layout: {
|
||||
locale: true,
|
||||
locale: false, // 禁用菜单国际化,与 GVA 保持一致
|
||||
...defaultSettings,
|
||||
},
|
||||
/**
|
||||
@@ -100,14 +100,9 @@ export default defineConfig({
|
||||
/**
|
||||
* @name 国际化插件
|
||||
* @doc https://umijs.org/docs/max/i18n
|
||||
* @description 禁用国际化,与 GVA 保持一致
|
||||
*/
|
||||
locale: {
|
||||
// default zh-CN
|
||||
default: "zh-CN",
|
||||
antd: true,
|
||||
// default true, when it is true, will use `navigator.language` overwrite default
|
||||
baseNavigator: true,
|
||||
},
|
||||
locale: false,
|
||||
/**
|
||||
* @name antd 插件
|
||||
* @description 内置了 babel import 插件
|
||||
|
||||
Reference in New Issue
Block a user