This commit is contained in:
zhaofang
2022-10-19 17:23:25 +08:00
parent cbd6bde484
commit 4832d9288a
2 changed files with 9 additions and 2 deletions

View File

@@ -34,6 +34,10 @@
type:String,
default:''
},
noJump:{
type:Number,
default: true
}
},
data(){
return {
@@ -60,8 +64,11 @@
methods:{
toHome() {
// ,query:{id:item.objId || item.id}
if(this.noJump) {
this.$router.push({path:this.$xpage.getHomePath(this.aid)})
}
}
},
watch:{
name(newVal,oldVal){

View File

@@ -16,7 +16,7 @@
</div>
<div class="personal-panel">
<div class="personal-img">
<author-img v-if="userInfo.avatar" :avatar="userInfo.avatar" :aid="userInfo.aid" :sex="userInfo.sex"></author-img>
<author-img v-if="userInfo.avatar" :avatar="userInfo.avatar" :aid="userInfo.aid" :noJump="false" :sex="userInfo.sex"></author-img>
<!-- {{ userInfo.avatar }} -->
</div>
<!-- <img style="width:68px;height:68px" src="/images/Avatarman.png" alt=""> -->