Commit 12e2d843 by zhaochengxiang

资产来源增加提示

parent 7fc983ff
...@@ -72,6 +72,7 @@ export class App extends React.Component { ...@@ -72,6 +72,7 @@ export class App extends React.Component {
reference='metadata' reference='metadata'
readOnly={true} readOnly={true}
showCustom={false} showCustom={false}
showTrash={false}
checkable={true} checkable={true}
onCheck={(values) => { onCheck={(values) => {
callback&&callback(values); callback&&callback(values);
......
...@@ -51,7 +51,7 @@ const AssetTable = (props) => { ...@@ -51,7 +51,7 @@ const AssetTable = (props) => {
<div style={{ display: 'flex', alignItems: 'center' }}> <div style={{ display: 'flex', alignItems: 'center' }}>
<AppContext.Consumer> <AppContext.Consumer>
{ {
value => <Tooltip title={(typeof metadata==='string')?'':(readOnly?'暂无关联的元数据':'暂无关联的元数据,如需关联,请在资产项里进行设置')}> value => <Tooltip title={(typeof metadata==='string')?(readOnly?'暂无关联的元数据':'暂无关联的元数据,如需关联,请在资产项里进行设置'):''}>
<Button <Button
type='link' type='link'
size='small' size='small'
......
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