From a8c424e49db9213e879bf6c44cebccdfddaa1808 Mon Sep 17 00:00:00 2001 From: BradyXu <brady_xu@outlook.com> Date: 星期日, 12 五月 2024 02:00:55 +0800 Subject: [PATCH] 修复sip绑定监听多网卡IP时,新增上级平台新增失败的问题,本地IP改成从配置的多IP下拉选择 --- web_src/src/components/common/MapComponent.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/web_src/src/components/common/MapComponent.vue b/web_src/src/components/common/MapComponent.vue old mode 100644 new mode 100755 index 2d8600d..fb091ad --- a/web_src/src/components/common/MapComponent.vue +++ b/web_src/src/components/common/MapComponent.vue @@ -11,6 +11,7 @@ import Tile from 'ol/layer/Tile'; import VectorLayer from 'ol/layer/Vector'; import Style from 'ol/style/Style'; +import Stroke from 'ol/style/Stroke'; import Icon from 'ol/style/Icon'; import View from 'ol/View'; import Feature from 'ol/Feature'; @@ -230,7 +231,12 @@ } let line = new LineString(points) let lineFeature = new Feature(line); - + lineFeature.setStyle(new Style({ + stroke: new Stroke({ + width: 4 , + color: "#0c6d6a", + }) + })) let source = new VectorSource(); source.addFeature(lineFeature); let vectorLayer = new VectorLayer({ -- Gitblit v1.8.0