Comparing version 0.7.3-beta4 to 0.7.3-beta5
@@ -45,2 +45,4 @@ 'use strict'; | ||
exports['default'] = AntEnterAnimation; | ||
AntEnterAnimation.to = _enterAnimation2['default'].to; | ||
module.exports = exports['default']; |
@@ -31,2 +31,2 @@ require('./index.css'); | ||
antd.version = '0.7.3-beta4'; | ||
antd.version = '0.7.3-beta5'; |
@@ -17,4 +17,4 @@ 'use strict'; | ||
exports['default'] = _react2['default'].createClass({ | ||
displayName: 'index', | ||
var AntSelect = _react2['default'].createClass({ | ||
displayName: 'AntSelect', | ||
@@ -33,2 +33,6 @@ getDefaultProps: function getDefaultProps() { | ||
}); | ||
AntSelect.Option = _rcSelect2['default'].Option; | ||
exports['default'] = AntSelect; | ||
module.exports = exports['default']; |
@@ -379,7 +379,12 @@ 'use strict'; | ||
// 分页 | ||
data = data.filter(function (item, i) { | ||
if (i >= (current - 1) * pageSize && i < current * pageSize) { | ||
return item; | ||
} | ||
}); | ||
// --- | ||
// 当数据量少于每页数量时,直接设置数据 | ||
// 否则进行读取分页数据 | ||
if (data.length <= pageSize) { | ||
data = data.filter(function (item, i) { | ||
if (i >= (current - 1) * pageSize && i < current * pageSize) { | ||
return item; | ||
} | ||
}); | ||
} | ||
// 完成数据 | ||
@@ -386,0 +391,0 @@ _this3.setState({ |
{ | ||
"name": "antd", | ||
"version": "0.7.3-beta4", | ||
"version": "0.7.3-beta5", | ||
"stableVersion": "0.7.2", | ||
@@ -59,8 +59,8 @@ "title": "Ant Design", | ||
"autoprefixer-loader": "~2.0.0", | ||
"babel": "~5.6.14", | ||
"babel-core": "~5.4.7", | ||
"babel-loader": "~5.1.3", | ||
"babel": "^5.8.12", | ||
"babel-core": "^5.8.12", | ||
"babel-loader": "^5.3.2", | ||
"css-animation": "~1.0.3", | ||
"css-loader": "^0.14.1", | ||
"eslint": "~0.22.1", | ||
"eslint": "^0.24.1", | ||
"eslint-plugin-react": "~2.5.0", | ||
@@ -67,0 +67,0 @@ "extract-text-webpack-plugin": "^0.8.1", |
@@ -7,3 +7,7 @@ # Ant Design [![](https://img.shields.io/travis/ant-design/ant-design.svg?style=flat-square)](https://travis-ci.org/ant-design/ant-design) [![npm package](https://img.shields.io/npm/v/antd.svg?style=flat-square)](https://www.npmjs.org/package/antd) [![Dependency Status](https://david-dm.org/ant-design/ant-design.svg?style=flat-square)](https://david-dm.org/ant-design/ant-design) | ||
![](https://t.alipayobjects.com/images/rmsweb/T11aVgXc4eXXXXXXXX.svg) | ||
<p align="center"> | ||
<a href="http://ant.design"> | ||
<img width="360" src="https://t.alipayobjects.com/images/rmsweb/T1B9hfXcdvXXXXXXXX.svg"> | ||
</a> | ||
</p> | ||
@@ -10,0 +14,0 @@ ## 特性 |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
247432
31
8985
71