From f8039fe174aeb033ce27fbad8349df26e822de1a Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期四, 11 三月 2021 18:35:16 +0800 Subject: [PATCH] 箭头函数 --- src/components/panel/ToolBoxPanel.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/panel/ToolBoxPanel.vue b/src/components/panel/ToolBoxPanel.vue index 1e9cba4..7e6489e 100644 --- a/src/components/panel/ToolBoxPanel.vue +++ b/src/components/panel/ToolBoxPanel.vue @@ -28,11 +28,14 @@ import polygon from '@/assets/images/map-pages/icon/toolbox/polygon.png' import square from '@/assets/images/map-pages/icon/toolbox/square.png' +// 娴嬮噺鐨勬柟娉� import '@/components/plugin/leaflet-measure-path/leaflet-measure-path.css' import Measure from '@/components/plugin/MeaSure' +// 鏍囨敞鐨勬柟娉� import MakeTation from '@components/plugin/MakeTation' +// 灏佽鐨勯�夋嫨寮规 import TextBounced from '@components/panel/bounced/TextBounced' export default { @@ -170,8 +173,7 @@ this.drawLayer.on('dblclick').on('dblclick', this.drawLayer.toggleEdit) break case '鐐规爣娉�': - this.drawLayer = this.map.editTools.startMarker() - this.drawLayer.on('dblclick').on('dblclick', this.drawLayer.toggleEdit) + MakeTation.StartCircleAnnotation(this.map, this.L) break case '鍥炬爣鏍囨敞': this.drawLayer = this.map.editTools.startIcon() -- Gitblit v1.8.0