Commit 3197598b authored by 季圣华's avatar 季圣华
Browse files

优化用户保存时候的用户名重复的校验

parent dc479b91
...@@ -159,14 +159,13 @@ ...@@ -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();
}) })
} }
}) })
}, },
......
Supports Markdown
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