mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
提交
This commit is contained in:
@@ -34,6 +34,10 @@
|
|||||||
type:String,
|
type:String,
|
||||||
default:''
|
default:''
|
||||||
},
|
},
|
||||||
|
noJump:{
|
||||||
|
type:Number,
|
||||||
|
default: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
@@ -60,7 +64,10 @@
|
|||||||
methods:{
|
methods:{
|
||||||
toHome() {
|
toHome() {
|
||||||
// ,query:{id:item.objId || item.id}
|
// ,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:{
|
watch:{
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="personal-panel">
|
<div class="personal-panel">
|
||||||
<div class="personal-img">
|
<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 }} -->
|
<!-- {{ userInfo.avatar }} -->
|
||||||
</div>
|
</div>
|
||||||
<!-- <img style="width:68px;height:68px" src="/images/Avatarman.png" alt=""> -->
|
<!-- <img style="width:68px;height:68px" src="/images/Avatarman.png" alt=""> -->
|
||||||
|
|||||||
Reference in New Issue
Block a user