提交 b6091560 编写于 作者: 雪洛's avatar 雪洛

Merge branch 'dev' of https://github.com/dcloudio/uni-app into dev

......@@ -177,7 +177,7 @@ export default {
})
},
markers (val) {
this.map && this._addMarkers(val)
this.map && this._addMarkers(val, true)
},
polyline (val) {
this.map && this._addMapLines(val)
......@@ -318,6 +318,7 @@ export default {
if (this.map) {
if (clear) {
this.map.clearOverlays()
this.map.__markers__ = {}
}
markers.forEach(marker => {
this._addMarker(this.map, marker)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册