mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
遵循格式要求
This commit is contained in:
parent
7ba8e08b5a
commit
b97d01f288
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user