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 () {
if (!this.equipmentList.length) {
// return this.$u.toast('请选择播发设备')
return this.$u.toast('请选择播发设备')
}
this.isImpact = false
@@ -253,13 +253,13 @@
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.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 => {