fix: setdata
parent
11f41e500a
commit
8ea2cfa7fe
|
@ -18,11 +18,12 @@ Page({
|
|||
this.setData({
|
||||
recording: true,
|
||||
})
|
||||
const that = this;
|
||||
wx.startRecord({
|
||||
success (res) {
|
||||
console.log(res);
|
||||
const tempFilePath = res.tempFilePath
|
||||
this.setData({
|
||||
that.setData({
|
||||
filePath: tempFilePath,
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue