From c550251031b582e5158c618f4c84abb7091755c7 Mon Sep 17 00:00:00 2001 From: tcubic <123456> Date: Wed, 3 Aug 2022 19:22:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=B5=8B=E8=AF=954?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Index.vue b/src/components/Index.vue index 0ca1e80..1a59798 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -255,7 +255,9 @@ const activityBtn = (item) => { if (item.id == 2) { console.log("新客专享页面"); - window.location.href='/subs/financial/pages/index/index' + let url='/subs/financial/pages/index/index' + + wx.miniProgram.navigateTo({url}) } if (item.id == 3) {