@@ -17,6 +17,10 @@ audioContext.onEnded(() => {
// console.log('触发播放结束')
// 播放结束
uni.$emit('danci-audio-ended', code)
+ setTimeout(() => {
+ audioContext?.stop();
+ },100)
+
})
audioContext.onPlay(() => {
// 播放
@@ -305,7 +305,7 @@
url: data.activeWord.yinpin,
code: 'auto-play' // 特殊标记,区分自动播放
});
- }, 800);
+ }, 500);
}
};