mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-12 10:45:10 +08:00
fix(table): fix bug of table-column property watching (#1309)
This commit is contained in:
parent
45dbdf6e26
commit
b85758912a
@ -21,6 +21,7 @@ function useWatcher(owner: ComputedRef<any>, props_: TableColumnCtx) {
|
||||
() => props_[columnKey],
|
||||
newVal => {
|
||||
instance.columnConfig.value[columnKey] = newVal
|
||||
instance.columnConfig.value[key] = newVal
|
||||
const updateColumns = columnKey === 'fixed'
|
||||
owner.value.store.scheduleLayout(updateColumns)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user