Skip to content

Commit

Permalink
Update config.js
Browse files Browse the repository at this point in the history
demo只有中文,就不要开启`navigator.language`了,免得一堆报错
  • Loading branch information
WLyKan authored Jan 19, 2022
1 parent 0986725 commit 8143733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/main-react16/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default defineConfig({
default: 'zh-CN',
antd: true,
// default true, when it is true, will use `navigator.language` overwrite default
baseNavigator: true,
baseNavigator: false,
},
dynamicImport: {
loading: '@/components/PageLoading/index',
Expand Down

0 comments on commit 8143733

Please sign in to comment.