mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix(components): [tree-select] disabled attribute does not take effect (#10670)
* fix(components): disabled attribute does not take effect Add default values for attributes, fix #10648 closed #10648 * test: use toBeLessThanOrEqual * fix(components): recovery code
This commit is contained in:
parent
0e9e2f39a9
commit
f65c5687da
@ -57,6 +57,10 @@ export const useTree = (
|
||||
|
||||
const propsMap = computed(() => ({
|
||||
value: key.value,
|
||||
label: 'label',
|
||||
children: 'children',
|
||||
disabled: 'disabled',
|
||||
isLeaf: 'isLeaf',
|
||||
...props.props,
|
||||
}))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user