@@ -83,9 +83,11 @@ export default {
this.map.add(this.markerArr);
this.map.setFitView();
if (this.isStart) {
- this.initPlayBox();
- this.beforeInit = true;
- this.initLineArr();
+ this.$nextTick(() => {
+ this.initPlayBox();
+ this.beforeInit = true;
+ this.initLineArr();
+ });
}