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

pull/11631/head
Jikkai Xiao 2018-06-14 17:07:00 +08:00 committed by 杨奕
parent dd3bb2ce20
commit 25ffe8c97e
1 changed files with 12 additions and 0 deletions

View File

@ -405,6 +405,18 @@ export default {
if (this.columnConfig) {
this.columnConfig.formatter = newVal;
}
},
className(newVal) {
if (this.columnConfig) {
this.columnConfig.className = newVal;
}
},
labelClassName(newVal) {
if (this.columnConfig) {
this.columnConfig.labelClassName = newVal;
}
}
},