From 9a6fc48a9b0c3def9f3d3afd01755d54d309c672 Mon Sep 17 00:00:00 2001 From: chenxt <10125295+chen-xintao97@user.noreply.gitee.com> Date: Tue, 12 May 2026 10:40:50 +0800 Subject: [PATCH] 用户个性化配置去除只读列 --- src/components/Common/AffixMenu.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/Common/AffixMenu.js b/src/components/Common/AffixMenu.js index a61f588..65e817c 100644 --- a/src/components/Common/AffixMenu.js +++ b/src/components/Common/AffixMenu.js @@ -411,14 +411,14 @@ class AffixMenuComponent extends Component { } checkAll = {selectAll}   this.onCheckAll(e, child, count, configId)} />; } - if (this.props.app.userinfo.sType === 'sysadmin' || true) { /* 管理员设置列是否可修改 */ - columns.push({ - title: columnsReadOnly, - dataIndex: 'bReadonly', - render: (text, record) => this.renderColumns(text, 'bReadonly', configId, record), - width: 80, - }); - } + // if (this.props.app.userinfo.sType === 'sysadmin' || true) { /* 管理员设置列是否可修改 */ + // columns.push({ + // title: columnsReadOnly, + // dataIndex: 'bReadonly', + // render: (text, record) => this.renderColumns(text, 'bReadonly', configId, record), + // width: 80, + // }); + // } if (this.props.app.userinfo.sType === 'sysadmin' || true) { /* 管理员设置列颜色 */ columns.push({ title: columnsFontColor, -- libgit2 0.22.2