mirror of https://github.com/bjdgyc/anylink.git
增加object_class的处理逻辑
This commit is contained in:
parent
6cfa92944c
commit
262ad49df6
web/src/pages/group
|
@ -500,6 +500,9 @@ export default {
|
||||||
this.ruleForm.auth = JSON.parse(JSON.stringify(this.defAuth));
|
this.ruleForm.auth = JSON.parse(JSON.stringify(this.defAuth));
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
if (row.auth.type == "ldap" && ! row.auth.ldap.object_class) {
|
||||||
|
row.auth.ldap.object_class = this.defAuth.ldap.object_class;
|
||||||
|
}
|
||||||
this.ruleForm.auth = Object.assign(JSON.parse(JSON.stringify(this.defAuth)), row.auth);
|
this.ruleForm.auth = Object.assign(JSON.parse(JSON.stringify(this.defAuth)), row.auth);
|
||||||
},
|
},
|
||||||
handleDel(row) {
|
handleDel(row) {
|
||||||
|
@ -607,8 +610,8 @@ export default {
|
||||||
this.$message.success("登录成功");
|
this.$message.success("登录成功");
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(rdata.msg);
|
this.$message.error(rdata.msg);
|
||||||
this.authLoginLoading = false;
|
|
||||||
}
|
}
|
||||||
|
this.authLoginLoading = false;
|
||||||
console.log(rdata);
|
console.log(rdata);
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
this.$message.error('哦,请求出错');
|
this.$message.error('哦,请求出错');
|
||||||
|
|
Loading…
Reference in New Issue