#D
Your Name
2022-07-25 6094c0ed1baa40ffa0ce587704660b2a6d493bbf
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')
                            })
                        }
                    );