diff --git a/src/views/bookRackList.vue b/src/views/bookRackList.vue index 6849dcf..589127b 100644 --- a/src/views/bookRackList.vue +++ b/src/views/bookRackList.vue @@ -134,8 +134,8 @@ export default { // } // } this.listData.splice(0, this.listData.length, ...res.shelfAll) - for (let index = 0; index < res.shelfAll.length; index++) { - const shelfNo = res.shelfAll[index] + for (let index = 0; index < res.shelfs.length; index++) { + const shelfNo = res.shelfs[index] this.$set(this.bookList, shelfNo, res.shelfBook[shelfNo]) } if (this.listData.length > 0) {