|
@@ -149,8 +149,9 @@ export default {
|
|
|
this.curTime = parseInt(this.globalBgAudioManager.currentTime);
|
|
|
}
|
|
|
this.audioTime = curAudio.PlaySeconds;
|
|
|
- this.title = curAudio.Name.replace(/<\/?font.*?>/g, "");
|
|
|
- this.activityTitle = this.$store.state.audioBg.activityTitle.replace(/<\/?font.*?>/g, "");
|
|
|
+ this.title = curAudio.Name ? curAudio.Name.replace(/<\/?font.*?>/g, "") : "";
|
|
|
+ let activityTitle = this.$store.state.audioBg.activityTitle;
|
|
|
+ this.activityTitle = activityTitle ? activityTitle.replace(/<\/?font.*?>/g, "") : "";
|
|
|
this.play = !this.globalBgAudioManager.paused;
|
|
|
this.listenAudio();
|
|
|
},
|