fmui-base 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/upload/upload.js +2 -1
- package/package.json +1 -1
package/lib/upload/upload.js
CHANGED
|
@@ -467,7 +467,8 @@ var PageHome = function (_React$Component) {
|
|
|
467
467
|
// t.props.onChange(initList);
|
|
468
468
|
if (res.ok) {
|
|
469
469
|
res.json().then(function (obj) {
|
|
470
|
-
|
|
470
|
+
var objList = obj.data;
|
|
471
|
+
initList = initList.concat(objList);
|
|
471
472
|
t.props.onChange(initList);
|
|
472
473
|
t.setState({
|
|
473
474
|
initList: initList
|