Commit a61696da by zhaochengxiang

增加数据地图跳转

parent ace79f59
......@@ -14,6 +14,10 @@ const relationTypes = [
{
title: '热力图',
key: 'thermodynamic'
},
{
title: '数据地图',
key: 'map',
}
]
......@@ -258,7 +262,11 @@ const RelationContainer = (props) => {
}
const onTypeChange = (e) => {
setType(e.target.value);
if (e.target.value === 'map') {
window?.open('/center-home/menu/asset-map');
} else {
setType(e.target.value);
}
}
return (
......
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