zhanghongyu #1

Merged
zhanghongyu merged 5 commits from zhanghongyu into master 2025-01-05 23:47:54 +08:00
Showing only changes of commit d34ab7fedd - Show all commits

View File

@ -98,7 +98,7 @@ export default {
borrowDialogTitle: "借书", borrowDialogTitle: "借书",
// //
borrowForm: { borrowForm: {
userId: "", userId: "", //
bookId: "", bookId: "",
borrowDate: null, borrowDate: null,
expectedReturnDate: null, expectedReturnDate: null,
@ -137,6 +137,10 @@ export default {
// //
this.borrowForm.bookId = row.bookId; this.borrowForm.bookId = row.bookId;
} }
//
this.borrowForm.userId = this.$store.state.user.id || ""; // 使id
this.borrowDialogVisible = true; this.borrowDialogVisible = true;
}, },