From cce23d66bdc8e17714247348a96524a5e7cb3582 Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Fri, 28 Jun 2024 20:19:48 +0800 Subject: [PATCH] 111 --- pages/index/component/pictureCube.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pages/index/component/pictureCube.vue b/pages/index/component/pictureCube.vue index 1ac84c1..49c30b3 100644 --- a/pages/index/component/pictureCube.vue +++ b/pages/index/component/pictureCube.vue @@ -121,9 +121,18 @@ else return url.replace('http://', 'https://'); }, goDetail(url) { + console.log(url) + let urls = url.link - urls = merPath(urls, this.merId) - this.$util.JumpPath(urls); + if(urls.indexOf('http')==-1){ + uni.navigateTo({ + url:url.link + }) + }else{ + urls = merPath(urls, this.merId) + this.$util.JumpPath(urls); + } + } } }