mirror of https://github.com/ElemeFE/element
Table: fix class-name & label-class-name prop not reactive (#11626)
parent
dd3bb2ce20
commit
25ffe8c97e
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue