|
@@ -55,6 +55,7 @@
|
|
|
|
|
|
<script>
|
|
|
import {apiViewLogUpdate} from '@/api/common'
|
|
|
+const logger = require('@/utils/log.js')
|
|
|
export default {
|
|
|
filters:{
|
|
|
formatVoiceTime(e){
|
|
@@ -166,6 +167,7 @@ export default {
|
|
|
})
|
|
|
this.globalBgMusic.onError((e)=>{
|
|
|
console.log('音频onError',e);
|
|
|
+ logger.error('音频onError',e)
|
|
|
this.$store.commit('audio/removeAudio')
|
|
|
uni.showToast({
|
|
|
title: '音频播放错误',
|