remove code

This commit is contained in:
梁灏 2018-03-23 17:11:08 +08:00
parent 1acabf7912
commit 3f14387d1a
2 changed files with 2 additions and 17 deletions

View file

@ -84,7 +84,8 @@
key: 'gender',
align: 'center',
width: 200,
fixed: 'right'
fixed: 'right',
// fixed: 'left'
}
],
columns2: [

View file

@ -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: {