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') }) } );