Commit 2a85c39b by zhaochengxiang

bug fix

parent 5d78263d
...@@ -24,7 +24,6 @@ import SelectStandard from './SelectStandard'; ...@@ -24,7 +24,6 @@ import SelectStandard from './SelectStandard';
import AttributeMaintain from './AttributeMaintain'; import AttributeMaintain from './AttributeMaintain';
import './AssetAction.less'; import './AssetAction.less';
import { getTemplateType } from '../../../../util/axios';
const AssetAction = (props) => { const AssetAction = (props) => {
const { id, dirId, action, terms, onChange, reference, form, onMetadataChange, onElementsChange, readonly = false, permissionId, catalog } = props; const { id, dirId, action, terms, onChange, reference, form, onMetadataChange, onElementsChange, readonly = false, permissionId, catalog } = props;
...@@ -923,7 +922,7 @@ const AssetAction = (props) => { ...@@ -923,7 +922,7 @@ const AssetAction = (props) => {
payload: { payload: {
params: { params: {
appType: 'dataAssetManager', appType: 'dataAssetManager',
subType: getTemplateType(), subType: assets?.templateType,
resourceIds: id, resourceIds: id,
env: app?.env?.domainId||catalog||LocalStorage.get('assetsEnv'), env: app?.env?.domainId||catalog||LocalStorage.get('assetsEnv'),
} }
......
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