mirror of https://github.com/ElemeFE/element
Table: fix align attribute (#1338)
parent
6cd01c2647
commit
a3f570789c
|
@ -299,7 +299,7 @@ export default {
|
|||
|
||||
align(newVal) {
|
||||
if (this.columnConfig) {
|
||||
this.columnConfig.align = newVal;
|
||||
this.columnConfig.align = newVal ? 'is-' + newVal : null;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue