|
@@ -932,11 +932,10 @@ export default {
|
|
this.eventListAll = res.data
|
|
this.eventListAll = res.data
|
|
that.markersList = [];
|
|
that.markersList = [];
|
|
if (this.eventList != null && this.eventList.length > 0) {
|
|
if (this.eventList != null && this.eventList.length > 0) {
|
|
- // if(this.eventList[0].eventStatusValue == 'forest_event_status_1'){
|
|
|
|
- // that.$refs.up.pause();
|
|
|
|
- // that.$refs.up.currentTime = 0;
|
|
|
|
- // that.$refs.up.play();
|
|
|
|
- // }
|
|
|
|
|
|
+ if(this.eventList[0].eventStatusValue == 'forest_event_status_1'){
|
|
|
|
+ that.$refs.bottomMenu.updateAlert();
|
|
|
|
+ that.$refs.up.play();
|
|
|
|
+ }
|
|
for (let i = 0; i < this.eventList.length; i++) {
|
|
for (let i = 0; i < this.eventList.length; i++) {
|
|
let markersMap = {
|
|
let markersMap = {
|
|
lng: 124.59,
|
|
lng: 124.59,
|
|
@@ -1204,7 +1203,7 @@ export default {
|
|
},
|
|
},
|
|
stopAudio(){
|
|
stopAudio(){
|
|
this.$refs.up.pause();//停止播放音乐
|
|
this.$refs.up.pause();//停止播放音乐
|
|
- // this.$refs.up.currentTime = 0;
|
|
|
|
|
|
+ this.$refs.up.currentTime = 0;
|
|
},
|
|
},
|
|
/** ----------------------------------weosocket结束------------------------------------- */
|
|
/** ----------------------------------weosocket结束------------------------------------- */
|
|
|
|
|