src/tabviews/zshare/normalTable/index.jsx
@@ -32,8 +32,8 @@ const { columns } = this.props let _columns = [] columns.forEach(item => { if (item.hidden === 'true') return columns.forEach((item, index) => { if (item.hidden === true || item.hidden === 'true') return let cell = { align: item.Align, @@ -45,6 +45,14 @@ return this.getContent(item, record) } } if (item.fixed === true || item.fixed === 'true') { if (index < columns.length / 2) { cell.fixed = 'left' } else { cell.fixed = 'right' } } _columns.push(cell) })