startRecord(){ camera.startRecord() }, stopRecord(){ camera.stopRecord({ success:res=>{ console.log(res) this .setData({ tempVideoPath: res.tempVideoPath }) }, fail:err=>{ console.log(err) } }) } |