|
@@ -234,7 +234,7 @@ Page({
|
|
|
readingReset: false,
|
|
|
'countDown.state': true
|
|
|
})
|
|
|
- this.stl = setInterval(() => {
|
|
|
+ this.stl = setInterval(async () => {
|
|
|
if (this.data.countDown.num == 0) {
|
|
|
clearInterval(this.stl)
|
|
|
this.setData({
|
|
@@ -244,8 +244,8 @@ Page({
|
|
|
num: 3
|
|
|
}
|
|
|
})
|
|
|
- this.playMediaState()
|
|
|
- this.soundRecording()
|
|
|
+ await this.playMediaState()
|
|
|
+ await this.soundRecording()
|
|
|
this.startRecording()
|
|
|
} else {
|
|
|
this.setData({
|