Commit 2ce75a88 by zhaochengxiang

模型元数据推荐的跳转问题

parent db56dd3b
......@@ -912,7 +912,9 @@ const ImportActionTable = (props) => {
const sourceOnClick = (id) => {
const timestamp = new Date().getTime();
if (id.split('=').length>=3) {
const tempArray = id.split('=');
if (tempArray.length>=3) {
dispatch({
type: 'datamodel.getParent',
......@@ -920,7 +922,7 @@ const ImportActionTable = (props) => {
id
},
callback: data => {
window.open(`/center-home/menu/metasearch?id=${data._id}&timestamp=${timestamp}`);
window.open(`/center-home/menu/metasearch?id=${data._id}&did=${tempArray[1]||''}&timestamp=${timestamp}`);
}
})
} else {
......
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