前端重构

This commit is contained in:
Yvan
2026-01-08 12:23:58 +08:00
parent b988fcc0e1
commit f4fcdaa322
10 changed files with 207 additions and 53 deletions
+4 -9
View File
@@ -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 插件