fix
This commit is contained in:
@@ -242,6 +242,7 @@ const UploadFilesModule : Module<UploadFiles,RootState> = {
|
||||
state.disposeMoodboard = []
|
||||
// state.showSketchboard = []
|
||||
state.chooseIsDesign.value = true
|
||||
state.moodboardPosition = {}
|
||||
},
|
||||
clearAllId(state){
|
||||
state.moodboard.forEach((v:any) => {
|
||||
|
||||
@@ -78,10 +78,7 @@ const userHabit : Module<UserHabit,RootState> = {
|
||||
},
|
||||
subscriptionType:null,
|
||||
subscriptionId:null,
|
||||
usernameModify:{
|
||||
remainingTimes: 0,
|
||||
remainingDays:0,
|
||||
},
|
||||
usernameModify:0,
|
||||
|
||||
},
|
||||
bindEmail : {
|
||||
@@ -184,10 +181,7 @@ const userHabit : Module<UserHabit,RootState> = {
|
||||
subscriptionId:null,
|
||||
//是否是affiliate用户
|
||||
affiliate:false,
|
||||
usernameModify:{
|
||||
remainingTimes: 0,
|
||||
remainingDays:0,
|
||||
},
|
||||
usernameModify:0,
|
||||
|
||||
}
|
||||
state.bindEmail = {
|
||||
@@ -213,7 +207,7 @@ const userHabit : Module<UserHabit,RootState> = {
|
||||
state.userDetail.userName = data.userName//用户名
|
||||
state.userDetail.userId = data.userId//用户id
|
||||
state.userDetail.avatar = data.avatar//头像
|
||||
state.userDetail.usernameModify = data.usernameModify//头像
|
||||
state.userDetail.usernameModify = data.usernameModify//当月剩余修改次数
|
||||
state.userDetail.isBeginner = data.isBeginner == 1 ? true : false;//是否完成新手指引
|
||||
/**
|
||||
* 用于区分游客与系统用户
|
||||
@@ -233,7 +227,7 @@ const userHabit : Module<UserHabit,RootState> = {
|
||||
state.userDetail.systemList = []
|
||||
if(data.systemUser != 0)state.userDetail.systemList.push(1)
|
||||
if(data.affiliate)state.userDetail.systemList.push(2)
|
||||
let adminIdList = [88,6,46,31,73,83,87,4,11482,11630]
|
||||
let adminIdList = [88,6,46,31,73,83,87,4,11482,11630,12201,12592]
|
||||
// if(data.email == '' || data.email)state.userDetail.systemList.push(3)
|
||||
if(adminIdList.indexOf(data.userId) > -1)state.userDetail.systemList.push(3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user