Skip to content

Commit

Permalink
locale default false
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteshader committed Apr 12, 2022
1 parent 734a078 commit 53c3b13
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions react-ui/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ export default defineConfig({
},
layout: {
// https://umijs.org/zh-CN/plugins/plugin-layout
locale: true,
locale: false,
siderWidth: 208,
...defaultSettings,
},
// https://umijs.org/zh-CN/plugins/plugin-locale
locale: {
default: 'zh-CN',
antd: true,
antd: false,
// default true, when it is true, will use `navigator.language` overwrite default
baseNavigator: true,
},
Expand Down Expand Up @@ -69,4 +69,7 @@ export default defineConfig({
mfsu: {},
webpack5: {},
exportStatic: {},
externals: {

}
});
6 changes: 3 additions & 3 deletions react-ui/config/defaultSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ const Settings: LayoutSettings & {
logo?: string;
tabsLayout?: boolean;
} = {
navTheme: 'dark',
// 拂晓蓝
primaryColor: '#2F54EB',
navTheme: 'light',
headerTheme: 'light',
primaryColor: '#722ED1',
layout: 'mix',
splitMenus: true,
contentWidth: 'Fluid',
Expand Down

0 comments on commit 53c3b13

Please sign in to comment.