zhanList: [{ title: '实践中心', show: true, }, { title: '实践所', show: true, }, { title: '实践站', show: true, }, { title: '实践点', show: true, } ], serviceList: [{ title: '未开始', show: true, }, { title: '进行中', show: true, }, { title: '已结束', show: true, } ],
hideMarker(data, show) { if (data === "实践中心") { this.centerArr.map((val) => { if (show) { val.marker.hide(); val.label.hide(); } else { val.marker.show(); val.label.show(); } this.zhanList[0].show = !show; }); },