Blame view

src/components/table/mixin.js 699 Bytes
0d136465   梁灏   update Table
1
2
3
  export default {
      methods: {
          alignCls (column) {
5d0499ce   梁灏   update Table
4
5
6
7
8
9
10
11
12
              return [
                  {
                      [`${this.prefixCls}-column-${column.align}`]: column.align,
                      [`${this.prefixCls}-hidden`]: (this.fixed === 'left' && column.fixed !== 'left') || (this.fixed === 'right' && column.fixed !== 'right') || (!this.fixed && column.fixed && (column.fixed === 'left' || column.fixed === 'right'))
                  }
              ]
          },
          isPopperShow (column) {
              return column.filters && ((!this.fixed && !column.fixed) || (this.fixed === 'left' && column.fixed === 'left') || (this.fixed === 'right' && column.fixed === 'right'));
0d136465   梁灏   update Table
13
14
15
          }
      }
  }