From 63202ac8eb92b23548bcabf22e603f0ae87aca49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com> Date: Mon, 28 Oct 2024 08:55:00 +0800 Subject: [PATCH] =?UTF-8?q?title=E9=97=AE=E9=A2=98=202024/8/6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index faba1d38..804d021d 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -369,9 +369,15 @@ const getDictory = () => { const openCheck = (item) => { const name = item.name.split('\\n').join('') - uni.navigateTo({ - url: `/${item.path}?title=${name}` - }) + if(item.path.indexOf('?')>-1){ + uni.navigateTo({ + url: `/${item.path}&title=${name}` + }); + }else{ + uni.navigateTo({ + url: `/${item.path}?title=${name}` + }); + } filterList.value = [] } const showMessage = (message) => {