Commit 8a1ffa98 by zhaochengxiang

资产打标签

parent 881575c8
......@@ -155,13 +155,18 @@ const AssetTagModal = (props) => {
params,
data: { ...asset, elements: newElements }
},
callback: () => {
callback: data => {
const ids = [id];
if (data && ((data?.id||'')!=='') && (data?.id!==id)) {
ids.push(data?.id);
}
dispatch({
type: 'tag.batchAddTagResource',
type: 'tag.batchAddTagResourceByTagList',
payload: {
params: {
tagId: tag?.tagId,
resourceIds: id,
tagIds: tag?.tagId,
resourceIds: ids.join(','),
type: 'dataAsset',
creator
}
......
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