遵循格式要求

This commit is contained in:
逸达 2015-08-05 01:44:21 +08:00
parent 7ba8e08b5a
commit b97d01f288

View File

@ -17,7 +17,7 @@ function defaultResolve(data) {
class DataSource {
constructor(config) {
this.url = config.url || "";
this.url = config.url || '';
this.resolve = config.resolve || defaultResolve;
this.getParams = config.getParams || noop;
this.getPagination = config.getPagination || noop;
@ -471,4 +471,4 @@ var AntTable = React.createClass({
AntTable.DataSource = DataSource;
export default AntTable;
export default AntTable;