fix: set disabled when node.selectable is false

pull/6855/head
KumJungMin 2024-11-25 21:21:46 +09:00
parent 8d9c5848ce
commit db9a657547
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
:modelValue="checked" :modelValue="checked"
:binary="true" :binary="true"
:class="cx('pcNodeCheckbox')" :class="cx('pcNodeCheckbox')"
:readonly="node.selectable === false" :disabled="node.selectable === false"
@change="toggleCheckbox" @change="toggleCheckbox"
:tabindex="-1" :tabindex="-1"
:indeterminate="partialChecked" :indeterminate="partialChecked"