Commit 8f0c0905 authored by lvtz's avatar lvtz

fix

parent 785ac3e0
......@@ -660,6 +660,9 @@ Component({
// 播放音频的相关操作 只是作为一个触发器 所有的录音操作在视频中进行
playvoice (e) {
const {value, duration} = e.currentTarget.dataset;
if(!value){
return
}
this.triggerEvent('playvoice', {
value,
duration
......
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