改为判断data
This commit is contained in:
@@ -171,8 +171,8 @@ export default defineComponent({
|
||||
if(e==2){
|
||||
console.log(uinfo)
|
||||
const res: any = await checkuser(toRaw(uinfo.value))
|
||||
console.log(res.data.memberid)
|
||||
if(res.code==0){
|
||||
// console.log(res.data)
|
||||
if(res.data){
|
||||
// stepnow.value = e;
|
||||
uinfo.value.quhao = res.data.code.toString()
|
||||
uinfo.value.memberid=res.data.memberid
|
||||
|
||||
@@ -293,7 +293,7 @@ export default defineComponent({
|
||||
return;
|
||||
}
|
||||
const iszc = await checkuser({phone: phone.value.phone})
|
||||
if(iszc.code == 0){
|
||||
if(iszc.data){
|
||||
message.error(lan.$t('zhanghaocunzai'))
|
||||
return ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user