diff --git a/src/components/table/table-head.vue b/src/components/table/table-head.vue index 23ffcdc..95df6b0 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 aba3322..3908f9f 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -1,14 +1,21 @@