diff --git a/examples/routers/table.vue b/examples/routers/table.vue index b8a131a..733bbea 100644 --- a/examples/routers/table.vue +++ b/examples/routers/table.vue @@ -84,7 +84,8 @@ key: 'gender', align: 'center', width: 200, - fixed: 'right' + fixed: 'right', + // fixed: 'left' } ], columns2: [ diff --git a/src/components/table/table-head.vue b/src/components/table/table-head.vue index ba89c00..b9ba46d 100644 --- a/src/components/table/table-head.vue +++ b/src/components/table/table-head.vue @@ -71,7 +71,6 @@ import renderHeader from './header'; import Mixin from './mixin'; import Locale from '../../mixins/locale'; - import { convertColumnOrder } from './util'; export default { name: 'TableHead', @@ -118,21 +117,6 @@ headRows () { const isGroup = this.columnRows.length > 1; return isGroup ? this.columnRows : [this.columns]; - -// if (isGroup) { -// const fixedType = this.fixed; -// if (fixedType) { -// if (fixedType === 'left') { -// return convertColumnOrder(this.columnRows, 'left'); -// } else if (fixedType === 'right') { -// return convertColumnOrder(this.columnRows, 'right'); -// } -// } else { -// return this.columnRows; -// } -// } else { -// return [this.columns]; -// } } }, methods: { -- libgit2 0.21.4