Commit e7277443 authored by 毛线's avatar 毛线

声音问题

parent a6694724
...@@ -37,6 +37,8 @@ export default { ...@@ -37,6 +37,8 @@ export default {
videoPlay() { videoPlay() {
// this.$refs.jswebrtc.play() // this.$refs.jswebrtc.play()
this.$refs.jswebrtc.muted = false this.$refs.jswebrtc.muted = false
this.$refs.jswebrtc.volume = this.volumeMachine / 100
console.log('播放声音')
}, },
}, },
mounted() { mounted() {
......
...@@ -165,11 +165,11 @@ export default { ...@@ -165,11 +165,11 @@ export default {
}).then(({ data }) => { }).then(({ data }) => {
console.log('退出游戏页面') console.log('退出游戏页面')
}).catch(() => { }).catch(() => {
if (this.$route.query.redirectUrl) { // 如果有回调地址,返回游戏页面 // if (this.$route.query.redirectUrl) { // 如果有回调地址,返回游戏页面
redirectBDUrl(this.$route.query.redirectUrl) // redirectBDUrl(this.$route.query.redirectUrl)
} else { // } else {
location.reload() // 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