Commit 60b94136 by fanyj

tijiao

parent 9a34dbdd
......@@ -736,7 +736,7 @@ const AssetTable = (props) => {
modal.confirm({
title: '提示',
content: '您确定要删除这些资产目录吗?',
content: '您确定要下线这些资产目录吗?',
onOk: () => {
let payload = {
data: checkedKeys
......@@ -746,7 +746,7 @@ const AssetTable = (props) => {
type: (reference===AssetManageReference)?'assetmanage.unloadDataAssetsFromAllDirs':'assetmanage.deleteDataAssets',
payload,
callback: () => {
showMessage("success","删除成功");
showMessage("success","下线成功");
getDataAssets();
setCheckedKeys([]);
},
......@@ -1111,7 +1111,7 @@ const AssetTable = (props) => {
{
//自定义目录下的资产不允许删除
(nodeType!=='custom') && <Tooltip title={(checkedKeys||[]).length===0?'请先选择资产目录':''}>
<Button onClick={deleteAssets} disabled={(checkedKeys||[]).length===0} >删除</Button>
<Button onClick={deleteAssets} disabled={(checkedKeys||[]).length===0} >下线</Button>
</Tooltip>
}
</React.Fragment>
......
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