Commit b6449277 by 前端

加上录音

1 parent c49af48c
...@@ -249,17 +249,17 @@ export default { ...@@ -249,17 +249,17 @@ export default {
uni.showLoading({ uni.showLoading({
mask: true mask: true
}) })
// const result = await this.$permision.requestAndroidPermission('android.permission.RECORD_AUDIO') const result = await this.$permision.requestAndroidPermission('android.permission.RECORD_AUDIO')
// if (result !== 1) { if (result !== 1) {
// uni.showToast({ uni.showToast({
// title: '为了记录语音通话,请打开录音权限', title: '为了记录语音通话,请打开录音权限',
// icon: 'none' icon: 'none'
// }) })
// return return
// } }
this.getSoure() this.getSoure()
this.clearHistory() this.clearHistory()
// this.$refs.home.startAudio() this.$refs.home.startAudio()
this.id = this.moduleList[0].id this.id = this.moduleList[0].id
this.type = 'edit' this.type = 'edit'
this.recording = true this.recording = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!