修改地图标注

dev
夜笙歌 1 year ago
parent 386a152367
commit 72e5067294

@ -185,7 +185,7 @@ export default {
position = [e.centerPoint.longitude, e.centerPoint.latitude] position = [e.centerPoint.longitude, e.centerPoint.latitude]
} }
let text = new AMap.Text({ let text = new AMap.Text({
text: e.deviceCount + (e.abnormalCount ? ('/' + e.abnormalCount) : ''), text: '总数:'+e.deviceCount + (e.abnormalCount ? ('/异常数量:' + e.abnormalCount) : ''),
anchor: 'center', anchor: 'center',
draggable: true, draggable: true,
cursor: 'pointer', cursor: 'pointer',

Loading…
Cancel
Save