From 3292aeb743e93f2fdeb465cc019c7b05f9776d77 Mon Sep 17 00:00:00 2001
From: 李红刚 <p-honggang.li@pcitc.com>
Date: 星期四, 18 三月 2021 10:34:00 +0800
Subject: [PATCH] 修改测量进行可编辑

---
 src/components/plugin/leaflet-measure-path/leaflet-measure-path.js |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/components/plugin/leaflet-measure-path/leaflet-measure-path.js b/src/components/plugin/leaflet-measure-path/leaflet-measure-path.js
index 28fdfd9..2f8a696 100644
--- a/src/components/plugin/leaflet-measure-path/leaflet-measure-path.js
+++ b/src/components/plugin/leaflet-measure-path/leaflet-measure-path.js
@@ -1,6 +1,5 @@
 /* eslint-disable */
-const init = (L) => {
-    !(function() {
+ !(function() {
         'use strict'
 
         L.Marker.Measurement = L[L.Layer ? 'Layer' : 'Class'].extend({
@@ -419,8 +418,4 @@
         L.Circle.addInitHook(function() {
             addInitHook.call(this)
         })
-    })()
-}
-export default {
-    init
-}
\ No newline at end of file
+    })()
\ No newline at end of file

--
Gitblit v1.8.0