Commit 5d78263d by zhaochengxiang

服务收藏

parent 3b915da0
...@@ -356,13 +356,15 @@ class Model extends React.Component { ...@@ -356,13 +356,15 @@ class Model extends React.Component {
modal?.confirm({ modal?.confirm({
title: '提示', title: '提示',
content: '是否确认收藏选中服务?', content: '是否确认收藏选中服务?',
onOk: () => { onOk: () => {
dispatch({ dispatch({
type: 'pds.subscribe', type: 'assetmanage.addSubscribe',
payload: { payload: {
params: { params: {
ids: (selectModelerIds||[]).join(','), appType: 'pDataService',
resourceIds: (selectModelerIds??[]).toString(),
env: this.props.app?.env?.domainId,
} }
}, },
callback: () => { callback: () => {
......
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