Commit 734fb228 authored by wangxuelai's avatar wangxuelai

最新代码提交

parent 63eb6f2f
......@@ -51,6 +51,15 @@ Component({
},
attached () {
},
pageLifetimes: {
hide() {
// 如果在录制中停止录制
console.log(this.data.audioStatus, 'ada');
if (this.data.audioStatus.playStatus == 'play') {
this.pauserecord();
}
}
},
ready () {
recorderManager.onStart((callback) => {
})
......
......@@ -48,6 +48,14 @@ Component({
voiceDuration: 0,
showAuthSettingDia: false
},
pageLifetimes: {
hide() {
// 如果在录制中停止录制
if (this.data.audioStatus.play == 'play') {
this.pauserecord();
}
}
},
created () {
},
attached () {
......
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