bug
This commit is contained in:
@@ -52,7 +52,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: '音频录制',
|
title: '音频录制',
|
||||||
text: '音频文件的录制',
|
text: '音频文件的录制',
|
||||||
path: './AppResourcesManage/addPlay?type=1',
|
path: './AppResourcesManage/addMedia?type=1',
|
||||||
imgUrl: require('./img/bigHorn-icon33@2x.png'),
|
imgUrl: require('./img/bigHorn-icon33@2x.png'),
|
||||||
bgClass: 'bg-E5B565'
|
bgClass: 'bg-E5B565'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -252,14 +252,6 @@
|
|||||||
let formData = {}
|
let formData = {}
|
||||||
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.recordList.push({
|
|
||||||
// src: (window.URL || webkitURL).createObjectURL(blob),
|
|
||||||
// isPlay: false,
|
|
||||||
// duration: (duration / 1000).toFixed(0)
|
|
||||||
// })
|
|
||||||
// this.isShowRecord = true
|
|
||||||
// return
|
|
||||||
|
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.$http.post(`/app/appdlbresource/uploadDlbFile`, formData).then(res => {
|
this.$http.post(`/app/appdlbresource/uploadDlbFile`, formData).then(res => {
|
||||||
|
|||||||
Reference in New Issue
Block a user