diff --git a/components/button/button.jsx b/components/button/button.jsx index 59111b7605..28c582c2b9 100644 --- a/components/button/button.jsx +++ b/components/button/button.jsx @@ -25,11 +25,6 @@ function insertSpace(child) { } export default class Button extends React.Component { - componentDidMount() { - if (window && window.PIE) { - window.PIE.attach(findDOMNode(this)); - } - } handleClick(...args) { const buttonNode = findDOMNode(this); buttonNode.className = buttonNode.className.replace(`${prefix}clicked`, ''); diff --git a/components/button/index.md b/components/button/index.md index d869c820b7..4f945f586a 100644 --- a/components/button/index.md +++ b/components/button/index.md @@ -29,17 +29,3 @@ loading | 设置按钮载入状态 | boolean | false onClick | `click` 事件的 handler | function | `function() {}` - `` 最终会被渲染为 ``,并且除了上表中的属性,其它属性都会直接传到 `` - - -### IE8 border radius support - -Ant Design 视觉上采用渐进降级的方案,在 IE8 下圆角按钮将降级为直角。 -如果强烈需要圆角按钮,我们提供了 [css3pie](http://css3pie.com/) 的兼容方案。 - -使用时只需在 html 头部加入以下代码即可。 - -```html - -``` diff --git a/components/transfer/index.jsx b/components/transfer/index.jsx index a2f8517ac8..3a739f3af9 100644 --- a/components/transfer/index.jsx +++ b/components/transfer/index.jsx @@ -23,7 +23,7 @@ class Transfer extends Component { splitDataSource() { const { targetKeys, dataSource } = this.props; - let leftDataSource = Object.assign([], dataSource); + let leftDataSource = [...dataSource]; let rightDataSource = []; if (targetKeys.length > 0) { diff --git a/docs/react/getting-started.md b/docs/react/getting-started.md index c386264d0e..2041a97814 100644 --- a/docs/react/getting-started.md +++ b/docs/react/getting-started.md @@ -102,7 +102,7 @@ Ant Design React 支持所有的现代浏览器和 IE8+。