Selaa lähdekoodia

bug fix: 管理中心-我的素材-素材列表 很多地方请求素材列表数据时没有传递当前文件夹id。

任一存 2 vuotta sitten
vanhempi
commit
b7e6417bc6

+ 1 - 0
packages/qjkankan-editor/src/views/material/audio/index.vue

@@ -322,6 +322,7 @@ export default {
             const lastestUsedSearchKey = this.searchKey
             getMaterialList(
               {
+                dir: this.currentFolderId,
                 pageNum: this.list.length + 1,
                 pageSize: 1,
                 searchKey: this.searchKey,

+ 1 - 0
packages/qjkankan-editor/src/views/material/image/index.vue

@@ -315,6 +315,7 @@ export default {
             const lastestUsedSearchKey = this.searchKey
             getMaterialList(
               {
+                dirId: this.currentFolderId,
                 pageNum: this.list.length + 1,
                 pageSize: 1,
                 searchKey: this.searchKey,

+ 2 - 0
packages/qjkankan-editor/src/views/material/pano/index.vue

@@ -368,6 +368,7 @@ export default {
                 const lastestUsedSearchKey = this.searchKey
                 getMaterialList(
                   {
+                    dir: this.currentFolderId,
                     pageNum: index + 1,
                     pageSize: 1,
                     type: TYPE,
@@ -445,6 +446,7 @@ export default {
             const lastestUsedSearchKey = this.searchKey
             getMaterialList(
               {
+                dir: this.currentFolderId,
                 pageNum: this.list.length + 1,
                 pageSize: 1,
                 searchKey: this.searchKey,

+ 1 - 0
packages/qjkankan-editor/src/views/material/video/index.vue

@@ -325,6 +325,7 @@ export default {
             const lastestUsedSearchKey = this.searchKey
             getMaterialList(
               {
+                dir: this.currentFolderId,
                 pageNum: this.list.length + 1,
                 pageSize: 1,
                 searchKey: this.searchKey,