From abe11de5df1ebf71cbe0f511bf8bcfd464d25334 Mon Sep 17 00:00:00 2001 From: Jing Li Date: Sun, 26 Mar 2023 21:06:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=87=91=E5=88=9A=E5=8C=BATa?= =?UTF-8?q?b=E9=A1=B5=E8=B7=B3=E8=BD=AC=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.vue | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 989d487..5e5eb17 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -559,13 +559,12 @@ export default { if (e.jump_type == 1) { if (tabRouter.findIndex((el) => e.jump_link?.includes(el)) >= 0) { const params = this.getParams(e.jump_link); - // console.log(params); + // console.log(params); if(Object.keys(params.params).length>0) { - uni.$emit('jumpTab',params.params) - this.$u.route({ - url: params.path, - type: 'switchTab', - }); + uni.$emit('jumpTab', params.params) + uni.switchTab({ + url: params.path + }) } } else if (whiteRouter.findIndex((el) => e.jump_link?.includes(el)) >= 0) { this.$u.routeAuth(e.jump_link);