bug
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user