|
|
@@ -110,10 +110,12 @@
|
|
|
'storageData': {
|
|
|
handler: function (val) {
|
|
|
if (val && val.content) {
|
|
|
- this.storageList = val.content
|
|
|
- this.isChange = false
|
|
|
+ if(this.isChange){
|
|
|
+ this.storageList = val.content
|
|
|
+ this.isChange = false
|
|
|
+ }
|
|
|
+ this.storageList = [...this.storageList, ...val.content]
|
|
|
}
|
|
|
- this.storageList = [...this.storageList, ...val.content]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -128,7 +130,7 @@
|
|
|
return this.allStorageData.fetching
|
|
|
},
|
|
|
allPage () {
|
|
|
- return this.allStorageData.totalPages
|
|
|
+ return this.storageData.totalPages
|
|
|
},
|
|
|
isEmpty () {
|
|
|
return this.storageList.length === 0
|