Commit d1eac385 by zhaochengxiang

资产字段名称不允许编辑

parent 518c4fe7
...@@ -149,14 +149,7 @@ const AssetAction = (props) => { ...@@ -149,14 +149,7 @@ const AssetAction = (props) => {
dataIndex: 'cnName', dataIndex: 'cnName',
// width: 200, // width: 200,
ellipsis: true, ellipsis: true,
render: (text, _, index) => <MetadataColumnEditableItem render: (text, _, index) => highlightSearchContentByTerms(text||'', terms)
value={text}
isEdit={isMetadataEdit}
terms={terms}
onChange={(e) => {
onMetadataColumnEditableItemChange(e.target.value, 'cnName', index)
}}
/>
}, },
{ {
title: '是否有权限', title: '是否有权限',
...@@ -269,14 +262,7 @@ const AssetAction = (props) => { ...@@ -269,14 +262,7 @@ const AssetAction = (props) => {
dataIndex: 'cnName', dataIndex: 'cnName',
// width: 200, // width: 200,
ellipsis: true, ellipsis: true,
render: (text, _, index) => <MetadataColumnEditableItem render: (text, _, index) => highlightSearchContentByTerms(text||'', terms)
value={text}
isEdit={isMetadataEdit}
terms={terms}
onChange={(e) => {
onMetadataColumnEditableItemChange(e.target.value, 'cnName', index)
}}
/>
}, },
{ {
title: '是否有权限', title: '是否有权限',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment