From a8532c88680e4ab213c269ec91da5b223f62332f Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 07 Feb 2018 14:12:26 +0800 Subject: [PATCH] 地图相关资源 --- src/main/webapp/view/map.jsp | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/view/map.jsp b/src/main/webapp/view/map.jsp index 11ede8b..0b02bf5 100644 --- a/src/main/webapp/view/map.jsp +++ b/src/main/webapp/view/map.jsp @@ -333,6 +333,12 @@ alert(equStr); } } + obj['mouseover'] = function (type) { + if(type.target.getData()==null){ + //��������������������������������������������������� ������������������ + refreshAllState(); + } + } var moralMask = new moralMap.Equipment(obj); moralMap.addOverlay(moralMask); } @@ -410,7 +416,7 @@ } setTimeout(function(){ refreshAllState(); - },2000); + },5000); } function stopRefreshPage(){ window.clearInterval(_intervalNum); -- Gitblit v1.8.0