refactor: remove unused log

上级 237cc3d7
...@@ -58,7 +58,6 @@ $.get('visual.json', function (diskData) { ...@@ -58,7 +58,6 @@ $.get('visual.json', function (diskData) {
} }
} }
console.log(dMap);
var jdata = Object.values(dMap) var jdata = Object.values(dMap)
let data = hierarchy(jdata); let data = hierarchy(jdata);
data.children.forEach(function(item, index, object) { data.children.forEach(function(item, index, object) {
...@@ -67,9 +66,8 @@ $.get('visual.json', function (diskData) { ...@@ -67,9 +66,8 @@ $.get('visual.json', function (diskData) {
} }
}); });
console.log(data);
var formatUtil = echarts.format; var formatUtil = echarts.format;
function getLevelOption(mode) { function getLevelOption(value) {
return [ return [
{ {
colorMappingBy: 'id', colorMappingBy: 'id',
...@@ -152,7 +150,6 @@ $.get('visual.json', function (diskData) { ...@@ -152,7 +150,6 @@ $.get('visual.json', function (diskData) {
label: { label: {
position: 'insideTopLeft', position: 'insideTopLeft',
formatter: function (params) { formatter: function (params) {
console.log(params);
var arr = [ var arr = [
'{name|' + params.name + '}', '{name|' + params.name + '}',
]; ];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册