Commit e7277443 authored by 毛线's avatar 毛线

声音问题

parent a6694724
......@@ -37,6 +37,8 @@ export default {
videoPlay() {
// this.$refs.jswebrtc.play()
this.$refs.jswebrtc.muted = false
this.$refs.jswebrtc.volume = this.volumeMachine / 100
console.log('播放声音')
},
},
mounted() {
......
......@@ -165,11 +165,11 @@ export default {
}).then(({ data }) => {
console.log('退出游戏页面')
}).catch(() => {
if (this.$route.query.redirectUrl) { // 如果有回调地址,返回游戏页面
redirectBDUrl(this.$route.query.redirectUrl)
} else {
location.reload()
}
// if (this.$route.query.redirectUrl) { // 如果有回调地址,返回游戏页面
// redirectBDUrl(this.$route.query.redirectUrl)
// } else {
// location.reload()
// }
})
},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment