From fd0ec4e75f496e4ed211bb6d61e997e03c0e46ed Mon Sep 17 00:00:00 2001 From: yangdelong <828900aaa> Date: 星期三, 07 四月 2021 10:22:49 +0800 Subject: [PATCH] 修改地图样式里面的 size 值 --- src/components/BaseNav/WireSurface/index.js | 45 ++++++++++++++++++++++----------------------- 1 files changed, 22 insertions(+), 23 deletions(-) diff --git a/src/components/BaseNav/WireSurface/index.js b/src/components/BaseNav/WireSurface/index.js index 6d04ade..3021c37 100644 --- a/src/components/BaseNav/WireSurface/index.js +++ b/src/components/BaseNav/WireSurface/index.js @@ -1,23 +1,22 @@ - -// 寮曞叆鐢ㄤ簬澶勭悊鎺ュ彛鏁版嵁鑾峰彇鐨勬柟娉� -import { getDataInitWireSurface } from '@src/api/request' - -class initWireSurface { - constructor (options) { - this.map = options.map - this.L = window.L - this.initWireSurfaceMap = new Map() - this.initWireSurfacePopup = this.L.layerGroup().addTo(this.map) - } - - // 鑾峰彇椤甸潰绾�/闈㈡暟鎹� - getDataInitWireSurface () { - getDataInitWireSurface().then(res => { - console.log(res) - }).catch(error => { - console.log(error) - }) - } -} - -export default initWireSurface +// // 寮曞叆鐢ㄤ簬澶勭悊鎺ュ彛鏁版嵁鑾峰彇鐨勬柟娉� +// import {} from '@src/api/request' +// +// class initWireSurface { +// constructor (options) { +// this.map = options.map +// this.L = window.L +// this.initWireSurfaceMap = new Map() +// this.initWireSurfacePopup = this.L.layerGroup().addTo(this.map) +// } +// +// // 鑾峰彇椤甸潰绾�/闈㈡暟鎹� +// getDataInitWireSurface () { +// ().then(res => { +// console.log(res) +// }).catch(error => { +// console.log(error) +// }) +// } +// } +// +// export default initWireSurface -- Gitblit v1.8.0