Commit c1d6e9f3 by zhaochengxiang

bug fix

parent 0d55457c
......@@ -945,7 +945,7 @@ const AssetAction = (props) => {
<Spin spinning={loading}>
<div className='flex' style={{ justifyContent: 'right' }}>
{
(reference===AssetManageReference||canEdit) ? <Space>
(!readonly && (reference===AssetManageReference||canEdit)) ? <Space>
{
currentAction==='detail' ? <Button type='primary' onClick={onActionButtonClick}>编辑</Button> : <React.Fragment>
<Button type='primary' onClick={onCancelButtonClick}>取消</Button>
......
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