|
@@ -628,7 +628,7 @@ export default {
|
|
|
},
|
|
|
// 清除页面所有数据
|
|
|
clearAllData() {
|
|
|
- this.currentTotal = 0
|
|
|
+ this.currentTotal = 0;
|
|
|
map2DViewer.map.off("move");
|
|
|
// 所有图层或预设模型全部删除
|
|
|
if (Object.getOwnPropertyNames(map2DViewer.analysisGroups).length > 0) {
|
|
@@ -743,8 +743,14 @@ export default {
|
|
|
}
|
|
|
// 存储请求到的疑点数据
|
|
|
this.originalDataMap.set(uniqueId, res.content.data);
|
|
|
- // 激活当前展开面板
|
|
|
+
|
|
|
+ // if (mainType === "所有图层") {
|
|
|
+ // // 激活当前展开面板
|
|
|
+
|
|
|
+ // }
|
|
|
+
|
|
|
this.activeNames = ["myLabel", uniqueId];
|
|
|
+
|
|
|
this.originalData[uniqueId] = res.content.data.map((ele) => {
|
|
|
let cid = ele.id;
|
|
|
let geometry = ele.c_content;
|
|
@@ -964,7 +970,7 @@ export default {
|
|
|
id: `${item2.title}_${item2.id}`,
|
|
|
label: item2.title,
|
|
|
children:
|
|
|
- item2.columnList.length === 0
|
|
|
+ !item2.columnList || item2.columnList.length === 0
|
|
|
? []
|
|
|
: item2.columnList.map((item3) => {
|
|
|
this.rightPanelDataMap.set(
|