Commit f32be0ef by zhaochengxiang

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

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