From 4832d9288a06a916402a9cc633eb393e14f96879 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Wed, 19 Oct 2022 17:23:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Portal/authorImg.vue | 9 ++++++++- src/views/Index.vue | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/Portal/authorImg.vue b/src/components/Portal/authorImg.vue index 2264c5b2..e0b76834 100644 --- a/src/components/Portal/authorImg.vue +++ b/src/components/Portal/authorImg.vue @@ -34,6 +34,10 @@ type:String, default:'' }, + noJump:{ + type:Number, + default: true + } }, data(){ return { @@ -60,7 +64,10 @@ methods:{ toHome() { // ,query:{id:item.objId || item.id} - this.$router.push({path:this.$xpage.getHomePath(this.aid)}) + if(this.noJump) { + this.$router.push({path:this.$xpage.getHomePath(this.aid)}) + } + } }, watch:{ diff --git a/src/views/Index.vue b/src/views/Index.vue index 77a87b5d..05ab05f2 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -16,7 +16,7 @@
- +