增加无数据不渲染条件

This commit is contained in:
aixianling
2021-12-23 11:26:36 +08:00
parent 0ed3899e9e
commit 5bd058eef1

View File

@@ -79,7 +79,7 @@ export default {
arr.push(e.points.map(p => [p.lng, p.lat])) arr.push(e.points.map(p => [p.lng, p.lat]))
} }
}) })
this.renderGridMap(arr) arr.length>0&&this.renderGridMap(arr)
} }
}) })
}, },