mirror of
https://github.com/element-plus/element-plus.git
synced 2025-04-12 16:40:36 +08:00
fix(components): [tree-select] dynamic bind class invalid (#19803)
This commit is contained in:
parent
a3ca41aa1a
commit
616bb40981
@ -39,6 +39,8 @@ export const useSelect = (
|
||||
const result = {
|
||||
...pick(toRefs(props), Object.keys(ElSelect.props)),
|
||||
...attrs,
|
||||
class: computed(() => attrs.class),
|
||||
style: computed(() => attrs.style),
|
||||
// attrs is not reactive, when v-model binding source changes,
|
||||
// this listener is still old, see the bug(or test 'v-model source change'):
|
||||
// https://github.com/element-plus/element-plus/issues/14204
|
||||
|
Loading…
x
Reference in New Issue
Block a user