Преглед изворни кода

:arrow-up: antd版本升级为3.6.2

zhanghe пре 6 година
родитељ
комит
23738c1cda

+ 4 - 4
package.json

@@ -5,9 +5,9 @@
   "private": true,
   "private": true,
   "scripts": {
   "scripts": {
     "precommit": "npm run lint-staged",
     "precommit": "npm run lint-staged",
-    "start": "cross-env DISABLE_ESLINT=true roadhog dev",
-    "start:no-proxy": "cross-env NO_PROXY=true DISABLE_ESLINT=true roadhog dev",
-    "build": "cross-env NODE_ENV=production DISABLE_ESLINT=true roadhog build",
+    "start": "cross-env ESLINT=none roadhog dev",
+    "start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev",
+    "build": "cross-env NODE_ENV=production ESLINT=none roadhog build",
     "site": "roadhog-api-doc static && gh-pages -d dist",
     "site": "roadhog-api-doc static && gh-pages -d dist",
     "analyze": "cross-env ANALYZE=true roadhog build",
     "analyze": "cross-env ANALYZE=true roadhog build",
     "lint:style": "stylelint \"src/**/*.less\" --syntax less",
     "lint:style": "stylelint \"src/**/*.less\" --syntax less",
@@ -22,7 +22,7 @@
   "dependencies": {
   "dependencies": {
     "@antv/data-set": "^0.8.0",
     "@antv/data-set": "^0.8.0",
     "@babel/polyfill": "^7.0.0-beta.36",
     "@babel/polyfill": "^7.0.0-beta.36",
-    "antd": "^3.1.0",
+    "antd": "^3.6.2",
     "babel-runtime": "^6.9.2",
     "babel-runtime": "^6.9.2",
     "bizcharts": "^3.1.3-beta.1",
     "bizcharts": "^3.1.3-beta.1",
     "bizcharts-plugin-slider": "^2.0.1",
     "bizcharts-plugin-slider": "^2.0.1",

+ 0 - 1
src/components/AXTableSelector/columnsMap.less

@@ -4,7 +4,6 @@
   position: relative;
   position: relative;
   vertical-align: middle;
   vertical-align: middle;
   text-align: center;
   text-align: center;
-  width: 90px;
   height: 100px;
   height: 100px;
   line-height: 100px;
   line-height: 100px;
   img {
   img {

+ 0 - 1
src/routes/Product/Courseware/CoursewareCreate.less

@@ -4,7 +4,6 @@
   position: relative;
   position: relative;
   vertical-align: middle;
   vertical-align: middle;
   text-align: center;
   text-align: center;
-  width: 100px;
   height: 80px;
   height: 80px;
   line-height: 80px;
   line-height: 80px;
   img {
   img {

+ 1 - 1
src/routes/Product/Support/SupportCreate.js

@@ -448,7 +448,7 @@ export default class SupportCreatePage extends Component {
               }
               }
               className={styles.carouselCard}
               className={styles.carouselCard}
             >
             >
-              <Carousel>
+              <Carousel autoplay>
                 {
                 {
                   imgList.map(
                   imgList.map(
                     path => (
                     path => (

+ 1 - 1
src/routes/Product/Training/TrainingCreate.js

@@ -351,7 +351,7 @@ export default class TrainingCreatePage extends Component {
               }
               }
               className={styles.carouselCard}
               className={styles.carouselCard}
             >
             >
-              <Carousel>
+              <Carousel autoplay>
                 {
                 {
                   imgList.map(
                   imgList.map(
                     path => (
                     path => (