Commit c82ad1b1 by zhaochengxiang

bug fix

parent 46e6a97e
...@@ -125,7 +125,8 @@ const AssetAction = (props) => { ...@@ -125,7 +125,8 @@ const AssetAction = (props) => {
type: 'assetmanage.listUserElements', type: 'assetmanage.listUserElements',
payload: { payload: {
params: { params: {
range: getAssetRange(reference) range: getAssetRange(reference),
dataAssetType: getAssetType(reference)
} }
}, },
callback: data => { callback: data => {
......
import React, { useEffect, useMemo, useState } from "react"; import React, { useEffect, useMemo, useState } from "react";
import { Spin, Descriptions, Divider } from "antd"; import { Spin, Descriptions, Divider } from "antd";
import { getAssetRange, highlightSearchContentByTerms } from '../../../../util'; import { getAssetRange, getAssetType, highlightSearchContentByTerms } from '../../../../util';
import { dispatch } from '../../../../model'; import { dispatch } from '../../../../model';
import { ElementItem } from "./AssetAction"; import { ElementItem } from "./AssetAction";
import { AssetManageReference } from "../../../../util/constant"; import { AssetManageReference } from "../../../../util/constant";
...@@ -72,7 +72,8 @@ const AssetDetail = (props)=>{ ...@@ -72,7 +72,8 @@ const AssetDetail = (props)=>{
type: 'assetmanage.listUserElements', type: 'assetmanage.listUserElements',
payload: { payload: {
params: { params: {
range: getAssetRange(reference) range: getAssetRange(reference),
dataAssetType: getAssetType(reference)
} }
}, },
callback: data => { callback: data => {
......
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