diff --git a/package.json b/package.json index 7c0ad688fdaaccc0773f905974203b777e45739a..a77d20d303d1c8a4b1a63303079cccf22bad0260 100755 --- a/package.json +++ b/package.json @@ -87,16 +87,6 @@ "optionalDependencies": { "nightmare": "^2.10.0" }, - "babel": { - "presets": [ - "@babel/preset-env", - "@babel/preset-react" - ], - "plugins": [ - "transform-decorators-legacy", - "transform-class-properties" - ] - }, "jest": { "setupFiles": [ "/tests/setupTests.js" diff --git a/src/components/Authorized/demo/basic.md b/src/components/Authorized/demo/basic.md index c9694ad21d54ac879cb641eb84eca50ec82a85a2..48eb7c4459dbf30f2d5fffc7fd55fb5dea0ad3d5 100644 --- a/src/components/Authorized/demo/basic.md +++ b/src/components/Authorized/demo/basic.md @@ -36,7 +36,7 @@ ReactDOM.render( - - mountNode, + , + mountNode ); ``` diff --git a/src/components/Ellipsis/index.js b/src/components/Ellipsis/index.js index 3ddbc8e579a1f926bc89029e0a21433c37e77cb6..ae4019ce7ee6971382cd71b7b9a87e24d3a384eb 100644 --- a/src/components/Ellipsis/index.js +++ b/src/components/Ellipsis/index.js @@ -171,7 +171,7 @@ export default class Ellipsis extends Component {
{ - tooltip ? ({children}) : children + tooltip ? ({children}) : children }
); } diff --git a/src/components/GlobalFooter/demo/basic.md b/src/components/GlobalFooter/demo/basic.md index 7662fa9f7ed57008dcbb879e8e13ea3282847992..9a06bade622c4657dd9b39fa97c2e267c119d14c 100644 --- a/src/components/GlobalFooter/demo/basic.md +++ b/src/components/GlobalFooter/demo/basic.md @@ -15,7 +15,7 @@ const links = [{ title: '帮助', href: '', }, { - key: 'github' + key: 'github', title: , href: 'https://github.com/ant-design/ant-design-pro', blankTarget: true,