From ac72cefe71e4adb17e3845832e742f09da1238dc Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Sun, 9 Oct 2022 15:24:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index dfe69e1..aa414f3 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -74,8 +74,10 @@ export default { shelfName: '1', leftShelfMsg: '', rightShelfMsg: '', - leftShelfNo: '1201-03-001-A-01', - rightShelfNo: '1201-03-001-B-01', + // leftShelfNo: '1201-03-001-A-01', + // rightShelfNo: '1201-03-001-B-01', + leftShelfNo: '', + rightShelfNo: '', rackList: [], // 本架图书排行第一 otherList: [], // 本架图书排行后两本 newList: [] // 新书推荐 @@ -130,8 +132,8 @@ export default { }, // 初始化首页书架信息 initSmartBookshelf() { - // this.leftShelfNo = this.$route.query.leftShelfNo - // this.rightShelfNo = this.$route.query.rightShelfNo + this.leftShelfNo = this.$route.query.leftShelfNo + this.rightShelfNo = this.$route.query.rightShelfNo const params = { leftShelfNo: this.leftShelfNo, rightShelfNo: this.rightShelfNo } // const _this = this initSmartBookshelf(params).then((res) => {