From 3947c8a497ac1b08399cebd7b81ce387332fbba9 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Thu, 01 Sep 2022 17:42:22 +0800
Subject: [PATCH] lct
---
src/components/Tab/Plot.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/Tab/Plot.vue b/src/components/Tab/Plot.vue
index 2a4887e..1834109 100644
--- a/src/components/Tab/Plot.vue
+++ b/src/components/Tab/Plot.vue
@@ -209,7 +209,6 @@
};
},
async createHandle() {
- // debugger
// this.form.geometry = JSON.stringify(this.form.geometry)
// this.form.properties = JSON.stringify(this.form.properties)
// let res = await addMap(this.form)
@@ -227,7 +226,7 @@
map.startDraw(
{
type: 'polygon',
- style: { text: name ,color:this.color},
+ style: { text: name ,color:this.color, clampToGround: true},
attr: {
name,
},
@@ -263,6 +262,7 @@
message:'四色图新增成功',
})
}
+ this.$emit('getList')
})
}
);
--
Gitblit v1.9.2