Skip to content

Commit

Permalink
perf: 组件联动支持多选情况
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Feb 26, 2021
1 parent 26b5599 commit 17fa57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/form-designer/src/GenerateForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default class GenerateForm extends Vue {
this.resetComponent(this.linkEffect[r.field]);
}
if (value) {
const controlRule = r.control.find(_ => _.value === value);
const controlRule = r.control.find(_ => value.includes(_.value));
if (controlRule) {
const { rule: insideRule } = controlRule;
if (insideRule) {
Expand Down

0 comments on commit 17fa57b

Please sign in to comment.