diff --git a/src/subpackage/device/pages/audio_manage/audio_manage.vue b/src/subpackage/device/pages/audio_manage/audio_manage.vue index 985a041..aec4a80 100644 --- a/src/subpackage/device/pages/audio_manage/audio_manage.vue +++ b/src/subpackage/device/pages/audio_manage/audio_manage.vue @@ -235,12 +235,12 @@ // "token": "f0d5c19b-b87e-11eb-bc7d-5254005df464" } //发送命令到中控 - this.operateReq({ + if(_url)this.operateReq({ data: _data }) }, - //试听/播放 语音/录音 TODO + //试听/播放 语音/录音 async listenVoice() { if(this.voicePadConfig.step==0){ //需要将语音下载到本地,然后播放 @@ -255,7 +255,6 @@ console.log('播放录音文件:', innerAudioContext.src); if(innerAudioContext.src)innerAudioContext.play(); }, - //TODO getDownloadUrl(url) { console.log('下载录音'); util.showLoad()