Commit 0e601c5f by 无尘

fix: 修改选择商户

parent af2fea7a
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-31 16:11:50 * @Date: 2020-08-31 16:11:50
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-11 16:52:20 * @LastEditTime: 2020-09-11 17:01:07
--> -->
<!-- <!--
<check-name-dialog :sync-data="syncData" @closeSet="closeSet"></check-name-dialog> <check-name-dialog :sync-data="syncData" @closeSet="closeSet"></check-name-dialog>
...@@ -120,9 +120,13 @@ export default { ...@@ -120,9 +120,13 @@ export default {
.then(res => { .then(res => {
that.loading = false; that.loading = false;
if (res.code == '0000') { if (res.code == '0000') {
showMsg.showmsg('校验成功', 'success'); if (res.result) {
that.ruleForm.userName = ''; showMsg.showmsg('校验成功', 'success');
that.$emit('closeSet', 'success'); that.ruleForm.userName = '';
that.$emit('closeSet', 'success');
}else {
showMsg.showmsg('校验失败', 'warning');
}
}else { }else {
showMsg.showmsg(res.message || '接口异常', 'warning'); showMsg.showmsg(res.message || '接口异常', 'warning');
} }
......
Markdown is supported
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