Commit 18cc5c2c authored by youjie's avatar youjie

no message

parent d14c800e
......@@ -75,20 +75,6 @@ export const useUserStore = defineStore('user', {
this.personalInfor = { ...this.personalInfor, ...fields }
this.memberData.photo = fields.photo || this.memberData.photo
},
/**
* 设置email
* @param email email
*/
setEmail(email: string){
this.personalInfor.email = email
},
/**
* 设置用户头像
* @param photo 头像URL
*/
setPhoto(photo: string){
this.memberData.photo = photo
},
/** 当前登录类型 */
setLoginType(loginType: number){
this.loginType = loginType
......
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