|
@@ -780,7 +780,7 @@ export default {
|
|
|
const latestUsedSearchKey = this.searchKey
|
|
|
getMaterialList(
|
|
|
{
|
|
|
- pageNum: Math.floor(this.imageListRealLength.length / config.PAGE_SIZE) + 1,
|
|
|
+ pageNum: Math.floor(this.imageListRealLength / config.PAGE_SIZE) + 1,
|
|
|
pageSize: config.PAGE_SIZE,
|
|
|
searchKey: this.searchKey,
|
|
|
type: 'image',
|
|
@@ -793,7 +793,7 @@ export default {
|
|
|
return i;
|
|
|
});
|
|
|
this.imageList = this.imageList.concat(newData)
|
|
|
- if (this.imageListRealLength.length === data.data.total) {
|
|
|
+ if (this.imageListRealLength === data.data.total) {
|
|
|
this.hasMoreImageData = false
|
|
|
}
|
|
|
this.isRequestingMoreImageData = false
|
|
@@ -853,7 +853,7 @@ export default {
|
|
|
return i;
|
|
|
});
|
|
|
this.audioList = this.audioList.concat(newData)
|
|
|
- if (this.audioListRealLength.length === data.data.total) {
|
|
|
+ if (this.audioListRealLength === data.data.total) {
|
|
|
this.hasMoreAudioData = false
|
|
|
}
|
|
|
this.isRequestingMoreAudioData = false
|