Эх сурвалжийг харах

Table: fix align attribute (#1338)

kingwl 8 жил өмнө
parent
commit
a3f570789c

+ 1 - 1
packages/table/src/table-column.js

@@ -299,7 +299,7 @@ export default {
 
     align(newVal) {
       if (this.columnConfig) {
-        this.columnConfig.align = newVal;
+        this.columnConfig.align = newVal ? 'is-' + newVal : null;
       }
     },