From c67237e0b99db5aba836fa19d24015edc99a14ae Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 17 Jan 2022 14:06:51 +0800
Subject: [PATCH] +bug nItem[kin] == "" && kin != "notPath" && kin != "isLine" && kin != "id"
---
src/views/hd/hd.vue | 1 -
src/views/hd/getMapDataInThere.vue | 7 ++++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/views/hd/getMapDataInThere.vue b/src/views/hd/getMapDataInThere.vue
index b7e0357..822c67f 100644
--- a/src/views/hd/getMapDataInThere.vue
+++ b/src/views/hd/getMapDataInThere.vue
@@ -323,7 +323,12 @@
for (let k in item) {
let inItem = item[k];
for (let kin in inItem) {
- if (inItem[kin] == "" && kin != "notPath" && kin != "isLine") {
+ if (
+ inItem[kin] == "" &&
+ kin != "notPath" &&
+ kin != "isLine" &&
+ kin != "id"
+ ) {
notData.push(inItem.id);
break;
}
diff --git a/src/views/hd/hd.vue b/src/views/hd/hd.vue
index 907acfc..5ed3365 100644
--- a/src/views/hd/hd.vue
+++ b/src/views/hd/hd.vue
@@ -204,7 +204,6 @@
}
row.tpurl = d.join(",");
let outMapData = this.$refs.getMapData.myRulesUse();
- // console.log(outMapData);
if (!outMapData) {
loading();
return;
--
Gitblit v1.9.3