From 2e09a502c01e702a1d63a20c47b7e0a220e0c796 Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期二, 17 五月 2022 17:42:21 +0800 Subject: [PATCH] '安全风险空间分布图' --- src/components/Tab/Plot.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Tab/Plot.vue b/src/components/Tab/Plot.vue index b9322b5..f50ff87 100644 --- a/src/components/Tab/Plot.vue +++ b/src/components/Tab/Plot.vue @@ -193,7 +193,7 @@ }) } } - + }, closeCreateHandle() { @@ -233,21 +233,21 @@ }, }, (entity) => { - debugger + console.log(wutu3d.draw.attr.getCoordinates(entity)); this._initLabel(); this.$store.dispatch('map/updateTimestamp'); this.form = { id:'', etype:this.type, "type": "Feature", - "properties": + "properties": JSON.stringify(entity.attribute), "geometry": JSON.stringify({ "type": "Polygon", "coordinates": [ - + wutu3d.draw.attr.getCoordinates(entity) - + ] }) } -- Gitblit v1.9.2