Commit 12e2d843 by zhaochengxiang

资产来源增加提示

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