Commit 98d8ed69 by zhaochengxiang

资产热力图与首页保持一致

parent 74a7ba70
......@@ -43,24 +43,21 @@ const init = (ctx) => function (container, data, onClick) {
return [
{
itemStyle: {
borderColor: ((data||[]).length>0)&&(data[0].dataAssetAndSubDirCount===0||(data[0].children||[]).reduce((preVal, item) => item?.dataAssetAndSubDirCount + preVal, 0)===0) ? '#97aeed' : '#777',
// borderColor: '#fff',
borderWidth: 0,
gapWidth: 1
gapWidth: 5
},
upperLabel: {
show: false
}
},//
color:['#A7CEFF','#7C94DD','#92D6C9','#6DC3FF','#18A7B0','#5470c6'],
},
{
colorSaturation: [0.35, 0.5],
itemStyle: {
borderColor: '#555',
borderWidth: 5,
gapWidth: 1
},
emphasis: {
itemStyle: {
borderColor: '#ddd'
}
gapWidth: 1,
borderColorSaturation: 0.8
}
},
{
......@@ -68,7 +65,14 @@ const init = (ctx) => function (container, data, onClick) {
itemStyle: {
borderWidth: 5,
gapWidth: 1,
borderColorSaturation: 0.6
borderColorSaturation: 0.6,
}
},
{
colorAlpha:[0.3,0.5],
colorSaturation: [0.3,0.5],
itemStyle: {
borderColorSaturation: 0.1,
}
}
];
......
......@@ -364,6 +364,7 @@ class ExportDDLModal extends React.Component {
visible={visible}
title={title}
loading={confirmLoading}
width={ddlExportSuccess?'80%':520}
onCancel={() => {
this.reset();
onCancel && onCancel();
......
......@@ -92,6 +92,7 @@ const VersionCompare = (props) => {
const onBasicChange = (value) => {
setBasicVersion(value);
setIncVersion('');
setCompareData(null);
let index = -1;
(basicVersions||[]).forEach((version, i) => {
......
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