tremble 2 years ago
parent
commit
b9000ac9f2

+ 2 - 2
packages/qjkankan-editor/src/components/materialSelectorForEditor.vue

@@ -991,7 +991,7 @@ export default {
       const latestUsedSearchKey = this.searchKey
       getMaterialList(
         {
-          pageNum: Math.floor(this.videoListReallength / config.PAGE_SIZE) + 1,
+          pageNum: Math.floor(this.videoListRealLength / config.PAGE_SIZE) + 1,
           pageSize: config.PAGE_SIZE,
           searchKey: this.searchKey,
           type: 'video',
@@ -1005,7 +1005,7 @@ export default {
             return i;
           });
           this.videoList = this.videoList.concat(newData)
-          if (this.videoListReallength === data.data.total) {
+          if (this.videoListRealLength === data.data.total) {
             this.hasMoreVideoData = false
           }
           this.isRequestingMoreVideoData = false