mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
提交
This commit is contained in:
@@ -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){
|
||||
|
||||
@@ -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=""> -->
|
||||
|
||||
Reference in New Issue
Block a user