样式调整

This commit is contained in:
2betop 2020-05-29 16:43:53 +08:00
parent a952f84cbf
commit aa1040d991
2 changed files with 5 additions and 2 deletions

View File

@ -42,7 +42,7 @@
&-select > &-checkboxes, &-select > &-checkboxes,
&-result > &-selections { &-result > &-selections {
flex-grow: 1; flex-grow: 1;
height: 0; max-height: 100%;
overflow: auto; overflow: auto;
} }
@ -145,7 +145,7 @@
> .#{$ns}Transfer-checkboxes { > .#{$ns}Transfer-checkboxes {
flex-grow: 1; flex-grow: 1;
height: 0; max-height: 100%;
overflow: auto; overflow: auto;
} }
} }

View File

@ -78,6 +78,9 @@ export class TreeCheckboxes extends Checkboxes<
if (option.disabled) { if (option.disabled) {
return; return;
} else if (option.defer && !option.loaded) {
onDeferLoad?.(option);
return;
} }
let valueArray = Checkboxes.value2array(value, options, option2value); let valueArray = Checkboxes.value2array(value, options, option2value);