From 9f0eeddb0d3977dd39f3e317fedc50faf389c375 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Wed, 31 Aug 2022 17:09:40 +0800
Subject: [PATCH] 特殊作业
---
src/components/Tab/Plot.vue | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/components/Tab/Plot.vue b/src/components/Tab/Plot.vue
index 2a4887e..02cc09e 100644
--- a/src/components/Tab/Plot.vue
+++ b/src/components/Tab/Plot.vue
@@ -176,6 +176,7 @@
this.showCreatePanel = true;
},
removeHandle(label) {
+ debugger
if (!global.map) return;
for(let i in this.colorMapList){
if(JSON.parse(this.colorMapList[i].properties).attr.id === label.attr.id){
@@ -227,7 +228,7 @@
map.startDraw(
{
type: 'polygon',
- style: { text: name ,color:this.color},
+ style: { text: name ,color:this.color, clampToGround: true},
attr: {
name,
},
@@ -263,6 +264,7 @@
message:'四色图新增成功',
})
}
+ this.$emit('getList')
})
}
);
--
Gitblit v1.9.2