From 2ab2d1c38e99440c811a763fe2176faa5ab2ad7c Mon Sep 17 00:00:00 2001 From: cmxdd <86407334@qq.com> Date: Mon, 10 Aug 2020 15:55:21 +0800 Subject: [PATCH] fixed bug --- pages/release/video.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/release/video.vue b/pages/release/video.vue index 6f482f1..31cb8d6 100644 --- a/pages/release/video.vue +++ b/pages/release/video.vue @@ -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) {