diff --git a/src/router/index.js b/src/router/index.js index fb66b869c..de595a814 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -112,20 +112,20 @@ function cookApiDataItem(item) { function n2one(v) { let ret = []; for (let i = 0; i < v.length; i++) { - console.log("xxxxx", v[i]); + // console.log("xxxxx", v[i]); ret.push(v[i]); if (Array.isArray(v[i].children) && v[i].children.length > 0) { ret.push(...n2one(v[i].children)); } } - console.log("aaaa", ret); + // console.log("aaaa", ret); return ret; } let allChildrenUrl = n2one(item.children) .filter((i) => i.url != "" && i.showFlag == 1) .map((i) => i.url); - console.log("))))))))))))", allChildrenUrl); + // console.log("))))))))))))", allChildrenUrl); if (item.children.length > 0) { if (item.url == "" || !allChildrenUrl.find((i) => i.url == item.url)) { diff --git a/src/views/modules/visual/command/cpts/map.vue b/src/views/modules/visual/command/cpts/map.vue index d80fa0d74..faaf0a6e4 100644 --- a/src/views/modules/visual/command/cpts/map.vue +++ b/src/views/modules/visual/command/cpts/map.vue @@ -516,6 +516,7 @@ export default { iniMapDot(scene) { const { darkStyle, lightStyle, dotIcoList, dotData } = this; + console.log('--------------------------图标', dotIcoList) Object.keys(dotIcoList).forEach((k) => { scene.addImage(k, dotIcoList[k]); });