From 12c7c3516623947ca237b40559796506571d79d0 Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Wed, 28 Sep 2022 15:52:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=8F=82=E6=95=B0=E4=BC=A0?= =?UTF-8?q?=E9=80=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index aa81385..c0d3cd6 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -91,7 +91,7 @@ export default { methods: { toPath(path) { if (path === '/CurrentRackBook') { - const query = { leftShelfNo: '1201-03-001-A-01', rightShelfNo: '1201-03-001-B-01' } + const query = { leftShelfNo: this.leftShelfNo, rightShelfNo: this.rightShelfNo } this.$router.push({ path: path, query: query }) } else { this.$router.push(path) @@ -126,8 +126,8 @@ export default { }, // 初始化首页书架信息 initSmartBookshelf() { - // this.$route.query.leftShelfNo - // 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) => {