diff --git a/packages/bigscreen/designer/components/form/DataConfig.vue b/packages/bigscreen/designer/components/form/DataConfig.vue
index 087787c2..08c190fa 100644
--- a/packages/bigscreen/designer/components/form/DataConfig.vue
+++ b/packages/bigscreen/designer/components/form/DataConfig.vue
@@ -11,6 +11,7 @@
+
@@ -253,7 +254,6 @@ export default {
})
}
},
-
methods: {
showEditor() {
this.json = JSON.stringify(this.options.staticData, null, 2)
@@ -400,6 +400,11 @@ export default {
this.showMapEditor = false
})
},
+ removeMapMarker(i) {
+ this.$confirm("是否要删除该标记点").then(() => {
+ this.options.staticData.markers.splice(i, 1)
+ })
+ },
savePolylines() {
this.$set(this.options.staticData, 'polylines', JSON.parse(this.json))
},
@@ -540,5 +545,13 @@ export default {
height: 18px;
}
}
+
+ .el-icon-delete {
+ color: #f46;
+ }
+
+ .el-button + .el-button {
+ margin-left: 0;
+ }
}