From a8caf77ebfd5080b4b484eca91a44bfdcae34f49 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Thu, 19 May 2022 17:42:13 +0800
Subject: [PATCH] 'lct'
---
src/components/Tab/Plot.vue | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/components/Tab/Plot.vue b/src/components/Tab/Plot.vue
index b9322b5..0a5ae38 100644
--- a/src/components/Tab/Plot.vue
+++ b/src/components/Tab/Plot.vue
@@ -44,12 +44,13 @@
circle
@click="() => focusHandle(label.attr.id)"
/>
- <el-button
- icon="el-icon-edit"
- size="mini"
- circle
- @click="() => editHandle(label)"
- />
+
+<!-- <el-button-->
+<!-- icon="el-icon-edit"-->
+<!-- size="mini"-->
+<!-- circle-->
+<!-- @click="() => editHandle(label)"-->
+<!-- />-->
<el-button
icon="el-icon-delete"
type="danger"
@@ -193,7 +194,7 @@
})
}
}
-
+
},
closeCreateHandle() {
@@ -233,21 +234,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