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