Commit d82f4db5aa64427c4cddef19a0be3a6a9ac945f9

Authored by pengye
1 parent 8e41f492

邀请函2-17语音播报切换到首页继续播报的问题

... ... @@ -824,8 +824,11 @@ Page({
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
clearInterval(this.timers)
if (this.audioCtx) {
this.audioCtx.destroy(); // 释放音频资源
}
z },
/**
* 页面相关事件处理函数--监听用户下拉动作
... ...
... ... @@ -779,7 +779,10 @@ Page({
* 生命周期函数--监听页面卸载
*/
onUnload() {
clearInterval(this.timers)
if (this.audioCtx) {
this.audioCtx.destroy(); // 释放音频资源
}
},
/**
... ...
... ... @@ -779,7 +779,10 @@ Page({
* 生命周期函数--监听页面卸载
*/
onUnload() {
clearInterval(this.timers)
if (this.audioCtx) {
this.audioCtx.destroy(); // 释放音频资源
}
},
/**
... ...
... ... @@ -778,7 +778,10 @@ Page({
* 生命周期函数--监听页面卸载
*/
onUnload() {
clearInterval(this.timers)
if (this.audioCtx) {
this.audioCtx.destroy(); // 释放音频资源
}
},
/**
... ...
... ... @@ -730,7 +730,10 @@ Page({
* 生命周期函数--监听页面卸载
*/
onUnload() {
clearInterval(this.timers)
if (this.audioCtx) {
this.audioCtx.destroy(); // 释放音频资源
}
},
/**
... ...
... ... @@ -779,7 +779,10 @@ Page({
* 生命周期函数--监听页面卸载
*/
onUnload() {
clearInterval(this.timers)
if (this.audioCtx) {
this.audioCtx.destroy(); // 释放音频资源
}
},
/**
... ...
... ... @@ -778,7 +778,10 @@ Page({
* 生命周期函数--监听页面卸载
*/
onUnload() {
clearInterval(this.timers)
if (this.audioCtx) {
this.audioCtx.destroy(); // 释放音频资源
}
},
/**
... ...
... ... @@ -815,7 +815,10 @@ Page({
* 生命周期函数--监听页面卸载
*/
onUnload() {
clearInterval(this.timers)
if (this.audioCtx) {
this.audioCtx.destroy(); // 释放音频资源
}
},
/**
... ...