优化用户保存时候的用户名重复的校验
This commit is contained in:
parent
dc479b91ec
commit
3197598b32
@ -159,14 +159,13 @@
|
|||||||
obj.then((res)=>{
|
obj.then((res)=>{
|
||||||
if(res.code === 200){
|
if(res.code === 200){
|
||||||
that.$emit('ok');
|
that.$emit('ok');
|
||||||
|
that.close();
|
||||||
}else{
|
}else{
|
||||||
that.$message.warning(res.data.message);
|
that.$message.warning(res.data.message);
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
that.confirmLoading = false;
|
that.confirmLoading = false;
|
||||||
that.close();
|
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user