注册微信后绑定邮箱
This commit is contained in:
@@ -2,6 +2,7 @@ import {Module} from 'vuex'
|
||||
import {RootState} from '../index'
|
||||
import { Https } from "@/tool/https";
|
||||
import { setLang } from "@/tool/guide";
|
||||
import { setCookie } from "@/tool/cookie";
|
||||
import store from '../index'
|
||||
interface UserHabit{
|
||||
clothingType:any,
|
||||
@@ -212,6 +213,8 @@ const userHabit : Module<UserHabit,RootState> = {
|
||||
state.userDetail.occupation = data.occupation//头像
|
||||
state.userDetail.usernameModify = data.usernameModify//当月剩余修改次数
|
||||
state.userDetail.isBeginner = data.isBeginner == 1 ? true : false;//是否完成新手指引
|
||||
setCookie("isBeginner", state.userDetail.isBeginner);
|
||||
|
||||
if(
|
||||
(!data.email && state.userDetail.email == '-------------') ||
|
||||
(!data.country && !state.userDetail.country) ||
|
||||
|
||||
Reference in New Issue
Block a user