diff --git a/src/components/table/table-head.vue b/src/components/table/table-head.vue index 23ffcdc0..95df6b0e 100644 --- a/src/components/table/table-head.vue +++ b/src/components/table/table-head.vue @@ -1,7 +1,7 @@ @@ -26,6 +26,9 @@ } else { return column.title || '#'; } + }, + fixedCls (column) { + return column.fixed ? `${this.prefixCls}-${column.fixed}` : ''; } } } diff --git a/src/components/table/table.vue b/src/components/table/table.vue index aba33220..3908f9ff 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -1,14 +1,21 @@