From c9ab42bec5bb9c8ea57369bf93a0705bd6abd185 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Sat, 7 Dec 2019 00:06:21 +0800 Subject: [PATCH] deps: support ie11 close #5705 --- config/config.ts | 10 +++++----- package.json | 2 +- src/global.less | 5 +++++ 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/config/config.ts b/config/config.ts index 689537a0..ec58445b 100644 --- a/config/config.ts +++ b/config/config.ts @@ -26,11 +26,11 @@ const plugins: IPlugin[] = [ // default true, when it is true, will use `navigator.language` overwrite default baseNavigator: true, }, - // dynamicImport: { - // loadingComponent: './components/PageLoading/index', - // webpackChunkName: true, - // level: 3, - // }, + dynamicImport: { + loadingComponent: './components/PageLoading/index', + webpackChunkName: true, + level: 3, + }, pwa: pwa ? { workboxPluginMode: 'InjectManifest', diff --git a/package.json b/package.json index 757acd9f..9039b21c 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "not ie <= 10" ], "dependencies": { - "@ant-design/pro-layout": "^4.8.3", + "@ant-design/pro-layout": "^4.8.7", "@antv/data-set": "^0.10.2", "antd": "^3.23.6", "classnames": "^2.2.6", diff --git a/src/global.less b/src/global.less index b4237f7e..c5f3d49d 100644 --- a/src/global.less +++ b/src/global.less @@ -24,6 +24,11 @@ body { -moz-osx-font-smoothing: grayscale; } +.ant-pro-basicLayout { + width: 100%; + height: 100%; +} + ul, ol { list-style: none;