From ac4341ea6b66ae02427d39d35f41d42d78b2eb2e Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 14 二月 2025 10:08:32 +0800
Subject: [PATCH] #
---
zy-asrs-flow/config/config.ts | 31 +++++++++++++++----------------
1 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/zy-asrs-flow/config/config.ts b/zy-asrs-flow/config/config.ts
index ef506ab..7decf08 100644
--- a/zy-asrs-flow/config/config.ts
+++ b/zy-asrs-flow/config/config.ts
@@ -95,11 +95,11 @@
* @doc https://umijs.org/docs/max/i18n
*/
locale: {
- // default zh-CN
- default: 'zh-CN',
+ // default zh-CN / en-US
+ default: 'en-US',
antd: true,
// default true, when it is true, will use `navigator.language` overwrite default
- baseNavigator: true,
+ baseNavigator: false,
},
/**
* @name antd 鎻掍欢
@@ -135,23 +135,22 @@
* @doc https://pro.ant.design/zh-cn/docs/openapi/
*/
openAPI: [
- {
- requestLibPath: "import { request } from '@umijs/max'",
- // 鎴栬�呬娇鐢ㄥ湪绾跨殑鐗堟湰
- // schemaPath: "https://gw.alipayobjects.com/os/antfincdn/M%24jrzTTYJN/oneapi.json"
- schemaPath: join(__dirname, 'oneapi.json'),
- mock: false,
- },
- {
- requestLibPath: "import { request } from '@umijs/max'",
- schemaPath: 'https://gw.alipayobjects.com/os/antfincdn/CA1dOm%2631B/openapi.json',
- projectName: 'swagger',
- },
+ // {
+ // requestLibPath: "import { request } from '@umijs/max'",
+ // // 鎴栬�呬娇鐢ㄥ湪绾跨殑鐗堟湰
+ // // schemaPath: "https://gw.alipayobjects.com/os/antfincdn/M%24jrzTTYJN/oneapi.json"
+ // schemaPath: join(__dirname, 'oneapi.json'),
+ // mock: false,
+ // },
+ // {
+ // requestLibPath: "import { request } from '@umijs/max'",
+ // schemaPath: 'https://gw.alipayobjects.com/os/antfincdn/CA1dOm%2631B/openapi.json',
+ // projectName: 'swagger',
+ // },
],
mfsu: {
strategy: 'normal',
},
esbuildMinifyIIFE: true,
requestRecord: {},
- publicPath: './'
});
--
Gitblit v1.9.1