From ed2a9d376c3846bb8d6cf838bfff9bd3ae07bc3b Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Mon, 12 Aug 2019 15:52:05 +0800
Subject: [PATCH] 修改多点重合下拉时第一个时间位置不变问题
---
src/main/webapp/view/uavTrajectory.jsp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/view/uavTrajectory.jsp b/src/main/webapp/view/uavTrajectory.jsp
index 80e4004..64b7d2c 100644
--- a/src/main/webapp/view/uavTrajectory.jsp
+++ b/src/main/webapp/view/uavTrajectory.jsp
@@ -242,6 +242,7 @@
if (distance <= 1.9) {
if (coincidentPoints.indexOf(i) == -1) {
coincidentPoints.push(i);
+ winfowText +='<p id="' + i + '" onclick="openInfo(this)" onmousemove="red(this.id)" onmouseout="black(this.id)">' + "���������" + sensorInfo[i].������ + "</p>";
}
coincidentPoints.push(j);
count++;
@@ -252,7 +253,7 @@
}
if (coincidentPoints.indexOf(i) > -1) {
- winfowText = '<p id="' + i + '" onclick="openInfo(this)" onmousemove="red(this.id)" onmouseout="black(this.id)">' + "���������" + sensorInfo[i].������ + "</p>" + winfowText + "</div>";
+ winfowText = winfowText + "</div>";
} else {
for (var prop in sensorInfo[i]) {
if (sensorInfo[i].hasOwnProperty(prop)) {
--
Gitblit v1.8.0