From be4bc9649da4bde77b51be1cbd47eed826875495 Mon Sep 17 00:00:00 2001 From: Dawn1Ocean <1785590531@qq.com> Date: Fri, 29 Mar 2024 20:17:09 +0800 Subject: [PATCH] fix: add umi/max lib --- config/config.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/config.ts b/config/config.ts index ef6fa64..12a19fc 100644 --- a/config/config.ts +++ b/config/config.ts @@ -73,9 +73,9 @@ export default defineConfig({ * @name layout 插件 * @doc https://umijs.org/docs/max/layout-menu */ - title: 'Ant Design Pro', + title: 'EVA Tea', layout: { - locale: true, + locale: false, ...defaultSettings, }, /** @@ -119,6 +119,10 @@ export default defineConfig({ async: true, }, ], + helmet: true, + history: { + type: 'browser', + }, //================ pro 插件配置 ================= presets: ['umi-presets-pro'], /**