Commit fefb8cd7 authored by linwenqing's avatar linwenqing

fix:个人主页头像显示,退出清除

parent a4219333
...@@ -134,8 +134,9 @@ export default { ...@@ -134,8 +134,9 @@ export default {
}, },
avatar() { avatar() {
return ( return (
(this.student && this.student.avatarPath) || (this.vuex_token &&
(this.userInfo && this.userInfo.avatarUrl) || ((this.student && this.student.avatarPath) ||
this.userInfo.avatarUrl)) ||
this.pic this.pic
) )
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment