diff --git a/src/views/bigScreen/index.vue b/src/views/bigScreen/index.vue index 5acbbed9..f9f6da41 100644 --- a/src/views/bigScreen/index.vue +++ b/src/views/bigScreen/index.vue @@ -794,7 +794,8 @@ export default { that.showTime(); }, 1000); let host = window.location.host; - let jsUrl = host.indexOf('localhost')>-1?'http://222.222.144.147:6013/jsmap/jsmap.js':host+'/jsmap/jsmap.js'; + // let jsUrl = host.indexOf('localhost')>-1?'http://222.222.144.147:6013/jsmap/jsmap.js':host+'/jsmap/jsmap.js'; + let jsUrl = '/jsmap/jsmap.js'; that.loadScript('mapId',jsUrl, () => { window.map = new jsmap.JSMap({ mapType: jsmap.JSMapType.MAP_3D, @@ -1168,14 +1169,14 @@ export default { if(item.id==that.audioList.id){ }else{ that.audioList = item; - that.audioSrc=item.voice_f; + that.audioSrc=item.voice; if(item.location){ window.map.flyToPosition(new jsmap.JSPoint(item.location.longitude, item.location.latitude), { range: 200,duration: 1000 }); } } }else{ that.audioList = item; - that.audioSrc = item.voice_f; + that.audioSrc = item.voice; that.music.play();//播放 } } @@ -2276,7 +2277,6 @@ export default { }, speakerPlay(){ this.speakerPlayStatus = true; - // this.music.src = this.warningData.list[0].voice_f; this.music.play();//播放 }, },