From fffcf13fb7a8a710c133a2ed257199b4a55b5721 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 2 Mar 2023 16:23:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E6=8B=BC=E6=8E=A5do?= =?UTF-8?q?orCodes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/accessToLibrary/index.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/accessToLibrary/index.vue b/src/views/accessToLibrary/index.vue index 2fc9216..00bce8e 100644 --- a/src/views/accessToLibrary/index.vue +++ b/src/views/accessToLibrary/index.vue @@ -42,7 +42,8 @@ export default { dayNum: 0, dayOutNum: 0, monthNum: 0, - totalNum: 0 + totalNum: 0, + otherDoorOther: null } }, created() { @@ -63,10 +64,16 @@ export default { }, methods: { getInitIntoNum() { + this.otherDoorOther = window.location.href.split('?')[1]?.split('=')[1] + if (this.otherDoorOther !== '' && this.otherDoorOther.indexOf('&')) { + this.otherDoorOther = this.otherDoorOther.replace(/\&/g, '、') + } else { + this.otherDoorOther = null + } let params if (!this.isSelfService) { params = { - doorCodes: null + doorCodes: this.otherDoorOther } } else { params = {