From b760e4eea2fc4f56347ac26ca8bde97b15e164e5 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Mon, 09 Oct 2023 09:25:24 +0800 Subject: [PATCH] Merge branch 'feature_1.0' --- vue.config.js | 3 --- src/views/UVA/index.vue | 30 +++++++++++------------------- 2 files changed, 11 insertions(+), 22 deletions(-) diff --git a/src/views/UVA/index.vue b/src/views/UVA/index.vue index dc2c246..bd88988 100644 --- a/src/views/UVA/index.vue +++ b/src/views/UVA/index.vue @@ -45,8 +45,6 @@ <el-collapse v-show="shou1 === true" v-loading="loading" - accordion - style="box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1)" > <el-collapse-item style="text-indent: 2em; position: relative; padding-botton: 10px" @@ -146,8 +144,6 @@ <span>���������������������������(���): </span> <el-input ref="uvas" - v-model="tallone" - class="inputtu" /> -- <el-input @@ -885,13 +881,6 @@ deep: true, immediate: true }, - - mounted() { - this.initStart() - // this.$refs.datePick.focus() - // this.getDate() - // this.flyData() - }, created() { this.newTime(this.timeValue) this.newDate() @@ -1223,7 +1212,10 @@ this.abc += 1 const that = this if (!res) { - that.map = new window.window.BMapGL.Map('map_container') + that.map = new BMap.Map('map_container') + console.log('BMap', BMap) + console.log('BMapGL', BMapGL) + console.log('window', window.BMapGL) that.map.enableScrollWheelZoom(true) // ������������������������������������������������������s that.map.setMapType(BMAP_EARTH_MAP) // ��������������������������������� that.map.setDisplayOptions({ @@ -1415,10 +1407,10 @@ var color = getColorAndLevel(sensor, data).color var polygon = new window.BMapGL.Polygon( [ - new window.BMapGL.Point(sw.lng, sw.lat), // ��������� - new window.BMapGL.Point(ne.lng, sw.lat), // ��������� - new window.BMapGL.Point(ne.lng, ne.lat), // ��������� - new window.BMapGL.Point(sw.lng, ne.lat) // ��������� + new BMapGL.Point(sw.lng, sw.lat), // ��������� + new BMapGL.Point(ne.lng, sw.lat), // ��������� + new BMapGL.Point(ne.lng, ne.lat), // ��������� + new BMapGL.Point(sw.lng, ne.lat) // ��������� ], { strokeWeight: 0.1, // ������������������,������������������ @@ -1443,7 +1435,7 @@ ) var startMark = new window.BMapGL.Marker(that.showPoints[0], { icon: startIcon, - offset: new window.BMapGL.Size(0, -20) + offset: new BMapGL.Size(0, -20) }) that.map.addOverlay(startMark) var endIcon = new window.BMapGL.Icon( @@ -1454,7 +1446,7 @@ that.showPoints[that.showPoints.length - 1], { icon: endIcon, - offset: new window.BMapGL.Size(0, -20) + offset: new BMapGL.Size(0, -20) } ) that.map.addOverlay(endMark) @@ -1888,7 +1880,7 @@ var label = new window.BMapGL.Label( "<span class='my-maptip'>" + content + '<br /><span>', // ���lable������������ { - offset: new window.BMapGL.Size(-8, -10), // label������������������������label������������������������ + offset: new BMapGL.Size(-8, -10), // label������������������������label������������������������ position: point } // label��������� ) diff --git a/vue.config.js b/vue.config.js index dcc1fcb..90e8e90 100644 --- a/vue.config.js +++ b/vue.config.js @@ -28,9 +28,6 @@ productionSourceMap: false, devServer: { port: port, - client: { - webSocketURL: 'ws://0.0.0.0:8080/ws' - }, open: false, overlay: { warnings: false, -- Gitblit v1.8.0