fixed bug
This commit is contained in:
parent
d4a9b38f99
commit
2ab2d1c38e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user