zhangjie 9 сар өмнө
parent
commit
85440c68d5

+ 7 - 1
src/modules/record/components/LibraryDialog.vue

@@ -368,7 +368,13 @@ export default {
       if (this.loading) return;
       if (this.loading) return;
       this.loading = true;
       this.loading = true;
       let datas = { ...this.modalForm };
       let datas = { ...this.modalForm };
-      datas.paperLibraryId = this.curPage.paperLibraryId;
+      if (this.IS_UNDO_MODEL) {
+        datas.paperLibraryIds = this.curPage.paperLibraryId;
+      } else {
+        datas.paperLibraryIds = this.undoPageList
+          .map((item) => item.paperLibraryId)
+          .join();
+      }
       const res = await paperBindUser(datas).catch(() => {});
       const res = await paperBindUser(datas).catch(() => {});
       this.loading = false;
       this.loading = false;