This commit is contained in:
yanran200730
2022-06-13 15:16:09 +08:00
parent 34995af61f
commit 2c29b04f5a

View File

@@ -159,7 +159,7 @@
onLongtap () { onLongtap () {
if (!this.equipmentList.length) { if (!this.equipmentList.length) {
// return this.$u.toast('请选择播发设备') return this.$u.toast('请选择播发设备')
} }
this.isImpact = false this.isImpact = false
@@ -253,13 +253,13 @@
formData = new FormData() formData = new FormData()
formData.append('file', new window.File([blob], `${(new Date).getTime()}` )) formData.append('file', new window.File([blob], `${(new Date).getTime()}` ))
// this.$u.toast('播发成功') // this.$u.toast('播发成功')
this.recordList.push({ // this.recordList.push({
src: (window.URL || webkitURL).createObjectURL(blob), // src: (window.URL || webkitURL).createObjectURL(blob),
isPlay: false, // isPlay: false,
duration: (duration / 1000).toFixed(0) // duration: (duration / 1000).toFixed(0)
}) // })
this.isShowRecord = true // this.isShowRecord = true
return // return
this.$loading() this.$loading()
this.$http.post(`/app/appdlbresource/uploadDlbFile`, formData).then(res => { this.$http.post(`/app/appdlbresource/uploadDlbFile`, formData).then(res => {