默认关闭音乐
This commit is contained in:
parent
e6b33e9d7e
commit
b08b6e182d
|
|
@ -160,7 +160,7 @@ export default {
|
||||||
endTime: "",
|
endTime: "",
|
||||||
audioUrl: "",
|
audioUrl: "",
|
||||||
},
|
},
|
||||||
isAudioPlaying: true, // 改为默认开启
|
isAudioPlaying: false, // 改为默认开启
|
||||||
audioContext: null,
|
audioContext: null,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
@ -303,9 +303,9 @@ export default {
|
||||||
this.startMarquee();
|
this.startMarquee();
|
||||||
|
|
||||||
// 自动播放音频
|
// 自动播放音频
|
||||||
if (this.templeData.audioUrl) {
|
// if (this.templeData.audioUrl) {
|
||||||
this.playAudio();
|
// this.playAudio();
|
||||||
}
|
// }
|
||||||
|
|
||||||
console.log("寺庙数据加载成功");
|
console.log("寺庙数据加载成功");
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user