Commit f32be0ef by zhaochengxiang

资产来源增加不可点击踢死

parent 25bdfd93
......@@ -51,7 +51,8 @@ const AssetTable = (props) => {
<div style={{ display: 'flex', alignItems: 'center' }}>
<AppContext.Consumer>
{
value => <Button
value => <Tooltip title={(typeof metadata==='string')?'':'暂无关联的元数据,如需关联,请在资产项里进行设置'}>
<Button
type='link'
size='small'
onClick={() => {
......@@ -65,6 +66,7 @@ const AssetTable = (props) => {
>
来源
</Button>
</Tooltip>
}
</AppContext.Consumer>
<div>
......
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