Commit 9a6fc48a9b0c3def9f3d3afd01755d54d309c672

Authored by chenxt
1 parent 9b84ad10

用户个性化配置去除只读列

src/components/Common/AffixMenu.js
... ... @@ -411,14 +411,14 @@ class AffixMenuComponent extends Component {
411 411 }
412 412 checkAll = <span>{selectAll}&nbsp;&nbsp;<Checkbox indeterminate={visible !== len && visible} defaultChecked={visible === len} onChange={e => this.onCheckAll(e, child, count, configId)} /></span>;
413 413 }
414   - if (this.props.app.userinfo.sType === 'sysadmin' || true) { /* 管理员设置列是否可修改 */
415   - columns.push({
416   - title: columnsReadOnly,
417   - dataIndex: 'bReadonly',
418   - render: (text, record) => this.renderColumns(text, 'bReadonly', configId, record),
419   - width: 80,
420   - });
421   - }
  414 + // if (this.props.app.userinfo.sType === 'sysadmin' || true) { /* 管理员设置列是否可修改 */
  415 + // columns.push({
  416 + // title: columnsReadOnly,
  417 + // dataIndex: 'bReadonly',
  418 + // render: (text, record) => this.renderColumns(text, 'bReadonly', configId, record),
  419 + // width: 80,
  420 + // });
  421 + // }
422 422 if (this.props.app.userinfo.sType === 'sysadmin' || true) { /* 管理员设置列颜色 */
423 423 columns.push({
424 424 title: columnsFontColor,
... ...