From 8a19fb13be82a22d2dcca6f932b3c9197514a0e9 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 8 Jan 2026 10:04:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=9F=E5=A4=8F=E5=92=8C=E4=B8=9C=E8=A5=BF?= =?UTF-8?q?=E6=B9=96=E9=93=BE=E6=8E=A5=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 3ddf91c..9e7c53a 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -105,8 +105,14 @@ export default { } }, toRoomNav() { - const linkSrc = process.env.VUE_APP_BASE_API - window.location.href = linkSrc + '/anchoring/initVenueNavigation.do?libcode=' + this.libcode + const linkSrc = process.env.NODE_ENV === 'production' ? window.g.ApiUrl : process.env.VUE_APP_BASE_API + if (this.libcode === '1201') { + // 东西湖 + window.location.href = linkSrc + '/anchoring/initVenueNavigation.do?libcode=' + this.libcode + } else { + // 江夏馆 http://192.168.3.5:8080/anchoring/goNavigation.do?libcode=1501 + window.location.href = linkSrc + '/anchoring/goNavigation.do?libcode=' + this.libcode + } }, // 首页 - 新书推荐 getNewBookList() {