3.10 工程代码同步master
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { defineConfig } from 'umi';
|
||||
import defaultSettings from './defaultSettings';
|
||||
import proxy from './proxy';
|
||||
// import proxy from './proxy';
|
||||
import PageRoutes from './router.config'
|
||||
const { REACT_APP_ENV } = process.env;
|
||||
export default defineConfig({
|
||||
@ -10,7 +10,6 @@ export default defineConfig({
|
||||
hmr: true,
|
||||
},
|
||||
locale: {
|
||||
// default zh-CN
|
||||
default: 'zh-CN',
|
||||
antd: true,
|
||||
// default true, when it is true, will use `navigator.language` overwrite default
|
||||
@ -33,7 +32,6 @@ export default defineConfig({
|
||||
// @ts-ignore
|
||||
title: false,
|
||||
ignoreMomentLocale: true,
|
||||
proxy: proxy[REACT_APP_ENV || 'dev'],
|
||||
manifest: {
|
||||
basePath: '/',
|
||||
},
|
||||
|
Reference in New Issue
Block a user