Commit 3f14387d1a1eeac3f234ba57bf6ff02787c0399c
1 parent
1acabf79
remove code
Showing
2 changed files
with
2 additions
and
17 deletions
Show diff stats
examples/routers/table.vue
src/components/table/table-head.vue
@@ -71,7 +71,6 @@ | @@ -71,7 +71,6 @@ | ||
71 | import renderHeader from './header'; | 71 | import renderHeader from './header'; |
72 | import Mixin from './mixin'; | 72 | import Mixin from './mixin'; |
73 | import Locale from '../../mixins/locale'; | 73 | import Locale from '../../mixins/locale'; |
74 | - import { convertColumnOrder } from './util'; | ||
75 | 74 | ||
76 | export default { | 75 | export default { |
77 | name: 'TableHead', | 76 | name: 'TableHead', |
@@ -118,21 +117,6 @@ | @@ -118,21 +117,6 @@ | ||
118 | headRows () { | 117 | headRows () { |
119 | const isGroup = this.columnRows.length > 1; | 118 | const isGroup = this.columnRows.length > 1; |
120 | return isGroup ? this.columnRows : [this.columns]; | 119 | return isGroup ? this.columnRows : [this.columns]; |
121 | - | ||
122 | -// if (isGroup) { | ||
123 | -// const fixedType = this.fixed; | ||
124 | -// if (fixedType) { | ||
125 | -// if (fixedType === 'left') { | ||
126 | -// return convertColumnOrder(this.columnRows, 'left'); | ||
127 | -// } else if (fixedType === 'right') { | ||
128 | -// return convertColumnOrder(this.columnRows, 'right'); | ||
129 | -// } | ||
130 | -// } else { | ||
131 | -// return this.columnRows; | ||
132 | -// } | ||
133 | -// } else { | ||
134 | -// return [this.columns]; | ||
135 | -// } | ||
136 | } | 120 | } |
137 | }, | 121 | }, |
138 | methods: { | 122 | methods: { |