From 1ec8bc5c749c36e2c845ee55740472ca4125193d Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Mon, 21 Mar 2022 10:26:03 +0800
Subject: [PATCH] +
---
src/views/hd/getMapDataInThere.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/hd/getMapDataInThere.vue b/src/views/hd/getMapDataInThere.vue
index 822c67f..ab3f294 100644
--- a/src/views/hd/getMapDataInThere.vue
+++ b/src/views/hd/getMapDataInThere.vue
@@ -257,6 +257,7 @@
id: this.ourDatas.length,
});
}
+ this.nowId = +this.ourDatas.length + 1;
},
myRules(index) {
//单个验证
@@ -281,6 +282,7 @@
}
let line = this.changeMapData(lineBefor, "name");
let point = this.changeMapData(pointBefor, "name");
+ // console.log(line, point);
if (line[0] == "namenot" || point[0] == "namenot") {
//需要显示验证失败合集
let errorId = [];
@@ -290,8 +292,9 @@
if (point[0] == "namenot") {
errorId.push(...point[1]);
}
-
+ // console.log(errorId, "errorId");
for (let x in this.ourDatas) {
+ // console.log(this.ourDatas[x], "x");
let flog = true;
for (let k in errorId) {
if (errorId[k] == this.ourDatas[x].id) {
@@ -329,6 +332,7 @@
kin != "isLine" &&
kin != "id"
) {
+ // console.log(kin);
notData.push(inItem.id);
break;
}
--
Gitblit v1.9.3