wkw há 7 meses atrás
pai
commit
0cf3c3d1a7
1 ficheiros alterados com 10 adições e 0 exclusões
  1. 10 0
      src/components/header/header.vue

+ 10 - 0
src/components/header/header.vue

@@ -1624,6 +1624,16 @@
 					}
 				})
 			},
+			//去个人中心
+			goInfo() {
+				if (localStorage.getItem('token')) {
+					this.$router.push({
+						name: 'addResume'
+					})
+				} else {
+					this.goLogin()
+				}
+			},
 			//获取个人信息
 			async getUserInfo() {
 				await this.$Request.get('/app/user/selectUserById').then(res => {