From cdd61fe225ec02defd5707acbc5727fcadb9c7e8 Mon Sep 17 00:00:00 2001
From: cshenfu <men883234@gmail.com>
Date: 星期五, 28 十月 2022 16:20:31 +0800
Subject: [PATCH] 更改小时和天日历选择bug
---
js/function.js | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/js/function.js b/js/function.js
index 647b7a9..9ae44a2 100644
--- a/js/function.js
+++ b/js/function.js
@@ -58,6 +58,7 @@
} else {
min = 45
}
+
return year + "-" +
((month + 1) > 9 ? (month + 1) : "0" + (month + 1)) + "-" +
(day > 9 ? day : ("0" + day)) + " " +
@@ -133,8 +134,6 @@
function reLoadLayers() {
var layers = map.getLayers({ layers: true });
layers.forEach((layer) => {
- // console.log(layer.name + ":" + layer.type);
-
if ([layer.type] == 'wms') {
layer.options.layers = "konglu_58:" + layer.options.geoname_prefix + mars3d.global_variables.queryDataType;
layer.options.parameters.viewparams = "userid:" + mars3d.global_variables.userid + ";regiontype:" + layer.options.regiontype + ";datetime:" + mars3d.global_variables.queryDataTStartGeo
@@ -189,7 +188,6 @@
function addGraphictoHighlightLayer() {
mars3d.global_variables.tmpHighlightGraphics.forEach((item) => {
mars3d.global_variables.tmpHighlightGraphicLayer.addGraphic(item);
- console.log(item,"楂樹寒")
});
}
--
Gitblit v1.9.1