Commit 4a50c96b by 胡悦

修改验证

1 parent 9641032f
......@@ -179,14 +179,14 @@ export default {
}
};
var checkRoleVisibility = (rule, value, callBack) => {
if (value && value == 2) {
if (value && value == 2 && this.roleForm.roleTenants.length == 0) {
return callBack(new Error("请选择指定租户"));
} else {
return callBack();
}
};
var checkRolePermissionType = (rule, value, callBack) => {
if (value && value == 6) {
if (value && value == 6 && this.roleForm.permTenants.length == 0) {
return callBack(new Error("请选择指定数据权限"));
} else {
return callBack();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!