remove code
This commit is contained in:
parent
1acabf7912
commit
3f14387d1a
2 changed files with 2 additions and 17 deletions
|
@ -84,7 +84,8 @@
|
||||||
key: 'gender',
|
key: 'gender',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 200,
|
width: 200,
|
||||||
fixed: 'right'
|
fixed: 'right',
|
||||||
|
// fixed: 'left'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
columns2: [
|
columns2: [
|
||||||
|
|
|
@ -71,7 +71,6 @@
|
||||||
import renderHeader from './header';
|
import renderHeader from './header';
|
||||||
import Mixin from './mixin';
|
import Mixin from './mixin';
|
||||||
import Locale from '../../mixins/locale';
|
import Locale from '../../mixins/locale';
|
||||||
import { convertColumnOrder } from './util';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'TableHead',
|
name: 'TableHead',
|
||||||
|
@ -118,21 +117,6 @@
|
||||||
headRows () {
|
headRows () {
|
||||||
const isGroup = this.columnRows.length > 1;
|
const isGroup = this.columnRows.length > 1;
|
||||||
return isGroup ? this.columnRows : [this.columns];
|
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: {
|
methods: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue