fixed bug

This commit is contained in:
cmxdd 2020-08-10 15:55:21 +08:00
parent d4a9b38f99
commit 2ab2d1c38e

View File

@ -230,6 +230,9 @@ export default {
uploadvideo() {
let url = this.action;
let that = this;
uni.showLoading({
title:"上传中!"
})
uni.chooseVideo({
count: 1,
sourceType: ['camera', 'album'],
@ -250,6 +253,7 @@ export default {
let obj = JSON.parse(uploadFileRes.data);
that.videopath = obj.data.url;
that.selectvideo = obj.data.key;
uni.hideLoading()
that.videostate = true;
},
fail: function(error) {