...
|
...
|
@@ -312,6 +312,7 @@ Page(Object.assign({ |
|
|
let oldData = my_zero_list[type].data;
|
|
|
let key = `my_zero_list[${type}].data`;
|
|
|
let keyPage = `my_zero_list[${type}].page`;
|
|
|
page = page + 1;
|
|
|
this.service.getMyList({type, page}).then(res => {
|
|
|
let data = []
|
|
|
if (res && res.code === 200) {
|
...
|
...
|
@@ -319,7 +320,7 @@ Page(Object.assign({ |
|
|
}
|
|
|
this.setData({
|
|
|
[key]: oldData.concat(data),
|
|
|
[keyPage]: ++page
|
|
|
[keyPage]: page
|
|
|
})
|
|
|
if (data.length === 0) {
|
|
|
this.setData({
|
...
|
...
|
|