zan-choose-dialog
Advanced tools
Comparing version 4.5.12 to 4.5.13
@@ -88,4 +88,4 @@ 'use strict'; | ||
return { | ||
data: data.list, | ||
total: data.total | ||
data: data.list || [], | ||
total: data.total || 0 | ||
}; | ||
@@ -92,0 +92,0 @@ }, |
@@ -270,2 +270,8 @@ 'use strict'; | ||
key: 'fetchData', | ||
/** | ||
* 获取choose-dialog列表数据 | ||
* @param {*} options | ||
*/ | ||
value: function fetchData(options) { | ||
@@ -282,2 +288,6 @@ var _this2 = this; | ||
this.setState({ | ||
loading: true | ||
}); | ||
return (0, _zanPcAjax2['default'])({ | ||
@@ -284,0 +294,0 @@ url: url, |
{ | ||
"name": "zan-choose-dialog", | ||
"version": "4.5.12", | ||
"version": "4.5.13", | ||
"description": "这是一个React组件", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
1225286
34289