From bee3c77d4ea8482d4ab23c8c9c952bb279538013 Mon Sep 17 00:00:00 2001 From: "liu.xiaofeng@ebiz-digits.com" Date: Wed, 16 Nov 2022 13:33:37 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=93=B6=E4=BF=9Dapp=E3=80=91?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5=E8=BD=AE=E6=92=AD=E5=9B=BE?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=96=B9=E5=BC=8F=E7=9A=84=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/YB_APP/home.vue | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/views/YB_APP/home.vue b/src/views/YB_APP/home.vue index 35d8ac38d..c52516386 100644 --- a/src/views/YB_APP/home.vue +++ b/src/views/YB_APP/home.vue @@ -477,22 +477,22 @@ export default { this.clickFlag = false }, touchend(data){ - let dataURL = 'https://iagentsales-test2.e-guofu.com:5100/personal-manage/BusinessCard' - if(dataURL){ - let thisRoute = dataURL.slice (dataURL.lastIndexOf("/#")+2) - // let thisRoute = '/poster/posterList' - // console.log(typeof thisRoute) - // console.log(location.origin + '/#'+ thisRoute) - this.$jump({ - flag: 'h5', - extra: { - url: location.origin + '/#' + thisRoute, - }, - routerInfo: { - path: thisRoute, - }, - }) + if(this.clickFlag){ + let dataURL = JSON.parse(data.route).extra.url + if(dataURL){ + let thisRoute = dataURL.substring(dataURL.lastIndexOf("/#")+2) + this.$jump({ + flag: 'h5', + extra: { + url: location.origin + '/#' + thisRoute, + }, + routerInfo: { + path: thisRoute, + }, + }) + } } + } }, }