|
@@ -368,7 +368,13 @@ export default {
|
|
|
if (this.loading) return;
|
|
|
this.loading = true;
|
|
|
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(() => {});
|
|
|
this.loading = false;
|
|
|
|