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 @@ - +