Browse Source

Table: fix align attribute (#1338)

kingwl 8 years ago
parent
commit
a3f570789c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/table/src/table-column.js

+ 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;
       }
     },