widgets/FloodAnalysis/Widget.js
@@ -158,6 +158,11 @@ $('#hd-input').blur(function () { //隐藏域触发改变事件需要手动触发 // $("#hd-select").val().change() //关闭分析窗口 if (self.evaluateLayerIndex){ layer.close(self.evaluateLayerIndex) self.evaluateLayerIndex = "" } setTimeout(function(){//有bug 需要延迟执行隐藏 $("#hd-select").hide() },300) @@ -575,6 +580,7 @@ } }, //计算水位 getSw(val){ const self = this @@ -849,6 +855,7 @@ self.map.entities.remove(self.waterEntity) $('#sw-input').val("") $('#hd-input').val("") $('#hd-input').trigger("input") $('#smx-select option').remove() //清空表格数据 $('.analysis-box-list').empty();