Commit 25ffe8c9 authored by Jikkai Xiao's avatar Jikkai Xiao Committed by 杨奕

Table: fix class-name & label-class-name prop not reactive (#11626)

parent dd3bb2ce
...@@ -405,6 +405,18 @@ export default { ...@@ -405,6 +405,18 @@ export default {
if (this.columnConfig) { if (this.columnConfig) {
this.columnConfig.formatter = newVal; this.columnConfig.formatter = newVal;
} }
},
className(newVal) {
if (this.columnConfig) {
this.columnConfig.className = newVal;
}
},
labelClassName(newVal) {
if (this.columnConfig) {
this.columnConfig.labelClassName = newVal;
}
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment