From c7d629a57a1be6d55911b5b826f0e07db90e9460 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 12 一月 2024 11:07:37 +0800 Subject: [PATCH] 2 --- TEWin/Resources/SpaceStatistics/SpaceStatistics.html | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/TEWin/Resources/SpaceStatistics/SpaceStatistics.html b/TEWin/Resources/SpaceStatistics/SpaceStatistics.html index 8f5ca6f..427cb62 100644 --- a/TEWin/Resources/SpaceStatistics/SpaceStatistics.html +++ b/TEWin/Resources/SpaceStatistics/SpaceStatistics.html @@ -40,6 +40,7 @@ maxHeight: 0, // 涓夌淮浣撴渶楂橀珮搴� reset: function () { + //SGWorld.ProjectTree.EnableRedraw(0); var layers = getFeatureLayers(); for (var i in layers) { try{ @@ -48,6 +49,7 @@ console.log(e); } } + //SGWorld.ProjectTree.EnableRedraw(1); this.count = 0; this.lineLen = 0; @@ -169,12 +171,12 @@ } } } - for (var i = 0; i < fs.Count; i++) { - fs.Item(i).Tint.abgrColor = 0xff800080; + for (var j = 0; j < fs.Count; j++) { + fs.Item(j).Tint.abgrColor = 0xff800080; } } catch (e) { console.log(e); - layers.splice(i, 1); + //layers.splice(i, 1); } } -- Gitblit v1.9.3