From c878425fd01c34c990f32812c1efac44db9755df Mon Sep 17 00:00:00 2001 From: Baorong Li Date: Tue, 22 Oct 2019 10:30:04 +0800 Subject: [PATCH] upgrade antd@3.24.x --- package.json | 26 +++++++++++++------------- src/themes/index.less | 4 ++++ 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index d3bbd52..8c6c518 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dependencies": { "@lingui/react": "^2.8.0", "ant-design-pro": "^2.3.0", - "antd": "^3.19.0", + "antd": "^3.24.0", "axios": "^0.19.0", "classnames": "^2.2.6", "d3-shape": "^1.3.0", @@ -14,8 +14,8 @@ "draftjs-to-markdown": "^0.5.1", "dva": "2.4.1", "dva-model-extend": "^0.1.2", - "echarts": "^4.2.0", - "echarts-for-react": "^2.0.15-beta.0", + "echarts": "^4.4.0", + "echarts-for-react": "^2.0.15-beta.1", "echarts-gl": "^1.1.1", "echarts-liquidfill": "^2.0.2", "enquire-js": "^0.2.1", @@ -25,16 +25,16 @@ "lodash": "^4.17.11", "md5": "^2.2.1", "nprogress": "^0.2.0", - "path-to-regexp": "^3.0.0", + "path-to-regexp": "^3.1.0", "prop-types": "^15.7.0", - "qs": "^6.7.0", + "qs": "^6.9.0", "react-adsense": "^0.1.0", - "react-countup": "^4.1.0", + "react-countup": "^4.2.0", "react-draft-wysiwyg": "^1.13.0", "react-helmet": "^5.2.0", - "react-highcharts": "^16.0.2", + "react-highcharts": "^16.1.0", "react-perfect-scrollbar": "^1.5.0", - "recharts": "^1.6.0", + "recharts": "^1.8.0", "store": "^2.0.0" }, "devDependencies": { @@ -45,9 +45,9 @@ "babel-eslint": "^10.0.1", "babel-plugin-dev-expression": "^0.2.1", "babel-plugin-import": "^1.12.0", - "babel-plugin-macros": "^2.5.0", + "babel-plugin-macros": "^2.6.0", "babel-plugin-module-resolver": "^3.2.0", - "cross-env": "^5.2.0", + "cross-env": "^6.0.0", "eslint": "^5.15.0", "eslint-config-react-app": "^4.0.0", "eslint-plugin-flowtype": "^3.11.0", @@ -60,12 +60,12 @@ "lint-staged": "^8.1.0", "mockjs": "^1.0.1-beta3", "module": "^1.2.5", - "prettier": "^1.16.0", + "prettier": "^1.18.0", "stylelint": "^10.0.0", "stylelint-config-prettier": "^5.2.0", "stylelint-config-standard": "^18.3.0", - "umi": "^2.8.9", - "umi-plugin-react": "^1.9.6" + "umi": "^2.10.0", + "umi-plugin-react": "^1.12.0" }, "lint-staged": { "src/**/*.js": [ diff --git a/src/themes/index.less b/src/themes/index.less index 9863f69..e98163e 100644 --- a/src/themes/index.less +++ b/src/themes/index.less @@ -86,6 +86,10 @@ body { a:focus { text-decoration: none; } + + .ant-table-layout-fixed table { + table-layout: auto; + } } @media (min-width: 1600px) { :global {