|
@@ -286,6 +286,7 @@ export default {
|
|
|
return eachItem.id === this.popupItem.id
|
|
return eachItem.id === this.popupItem.id
|
|
|
})
|
|
})
|
|
|
if (index >= 0) {
|
|
if (index >= 0) {
|
|
|
|
|
+ this.isRequestingMoreData = true
|
|
|
getMaterialList(
|
|
getMaterialList(
|
|
|
{
|
|
{
|
|
|
pageNum: index + 1,
|
|
pageNum: index + 1,
|
|
@@ -300,8 +301,10 @@ export default {
|
|
|
this.list.splice(index, 1, newData[0])
|
|
this.list.splice(index, 1, newData[0])
|
|
|
this.showCover = false;
|
|
this.showCover = false;
|
|
|
this.popupItem = "";
|
|
this.popupItem = "";
|
|
|
|
|
+ this.isRequestingMoreData = false
|
|
|
},
|
|
},
|
|
|
() => {
|
|
() => {
|
|
|
|
|
+ this.isRequestingMoreData = false
|
|
|
this.showCover = false;
|
|
this.showCover = false;
|
|
|
this.popupItem = "";
|
|
this.popupItem = "";
|
|
|
}
|
|
}
|