From 45480002290205a0ebe93d69f435fa92db6815f5 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Mon, 13 Jun 2022 14:13:30 +0800 Subject: [PATCH] bug --- src/apps/AppBroadcast1/LiveBroadcast.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/apps/AppBroadcast1/LiveBroadcast.vue b/src/apps/AppBroadcast1/LiveBroadcast.vue index 07a42b6b..8baa569b 100644 --- a/src/apps/AppBroadcast1/LiveBroadcast.vue +++ b/src/apps/AppBroadcast1/LiveBroadcast.vue @@ -149,7 +149,7 @@ methods: { onLongtap () { if (!this.equipmentList.length) { - // return this.$u.toast('请选择播发设备') + return this.$u.toast('请选择播发设备') } this.isImpact = false @@ -242,14 +242,14 @@ let formData = {} formData = new FormData() formData.append('file', new window.File([blob], `${(new Date).getTime()}` )) - this.$u.toast('播发成功') - this.recordList.push({ - src: (window.URL || webkitURL).createObjectURL(blob), - isPlay: false, - duration: (duration / 1000).toFixed(0) - }) - this.isShowRecord = true - return + // this.$u.toast('播发成功') + // this.recordList.push({ + // src: (window.URL || webkitURL).createObjectURL(blob), + // isPlay: false, + // duration: (duration / 1000).toFixed(0) + // }) + // this.isShowRecord = true + // return this.$loading() this.$http.post(`/app/appdlbresource/uploadDlbFile`, formData).then(res => {