ZhuDongming
2019-08-12 ed2a9d376c3846bb8d6cf838bfff9bd3ae07bc3b
修改多点重合下拉时第一个时间位置不变问题
1 files modified
3 ■■■■ changed files
src/main/webapp/view/uavTrajectory.jsp 3 ●●●● patch | view | raw | blame | history
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)) {