mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-30 17:58:43 +08:00 
			
		
		
		
	退出登录、修改个人头像
This commit is contained in:
		| @@ -71,7 +71,9 @@ export default { | ||||
|       ] | ||||
|     } | ||||
|   }, | ||||
|   onLoad() {}, | ||||
|   onLoad() { | ||||
|     this.$store.dispatch('obtainUserInfo') | ||||
|   }, | ||||
|   methods: { | ||||
|     loginOrJump(pageUrl) { | ||||
|       if (!this.hasLogin) { | ||||
| @@ -87,7 +89,7 @@ export default { | ||||
|         success: res => { | ||||
|           if (res.confirm) { | ||||
|             console.log('用户点击确定') | ||||
|             this.$store.commit('logout') | ||||
|             this.$store.dispatch('logout') | ||||
|           } else if (res.cancel) { | ||||
|             console.log('用户点击取消') | ||||
|           } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sfmind
					sfmind