From 41a2882fd393b7d55800c106a27be945b1446040 Mon Sep 17 00:00:00 2001 From: anhaogxs <704041637@qq.com> Date: Wed, 3 Feb 2021 21:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9adv=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Adv.vue | 46 +++++++++++++++++++++++--------------------- pages/home/index.vue | 2 +- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/components/Adv.vue b/components/Adv.vue index d3d8146..37d777f 100644 --- a/components/Adv.vue +++ b/components/Adv.vue @@ -2,55 +2,55 @@ - + - - + + - + - - + + - - + + - + - - + + - + - + - - + + - - + + - - - + + + @@ -63,14 +63,16 @@ export default { return {}; }, props: { - detail: {} + detail: Object }, computed: {}, created() {}, methods: { // 路由跳转 jump(path) { - this.$tools.routerTo(path); + if (item.uniapp_url) { + this.$yrouter.push(path) + } } } }; diff --git a/pages/home/index.vue b/pages/home/index.vue index 556b47e..7c16011 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -25,7 +25,7 @@ - +