From 002e2daf18f2b18262452e9321ef5d30628ff46d Mon Sep 17 00:00:00 2001 From: chen <2659004835@qq.com> Date: Wed, 17 Aug 2022 18:20:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesA/my-video/my-video.vue | 7 +++++-- pagesB/upload-video/upload-video.vue | 6 ++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pagesA/my-video/my-video.vue b/pagesA/my-video/my-video.vue index 01d35ca..de9d339 100644 --- a/pagesA/my-video/my-video.vue +++ b/pagesA/my-video/my-video.vue @@ -9,7 +9,10 @@ - {{item.created_at.split('-').join('.')}} + + {{item.title}} + {{item.created_at.split('-').join('.')}} + @@ -42,7 +45,7 @@ this.getPractice(); }, onReachBottom() { - if(this.total!=this.dataList){ + if(this.total!=this.dataList.length){ this.page++; this.getPractice(); } diff --git a/pagesB/upload-video/upload-video.vue b/pagesB/upload-video/upload-video.vue index 3c61ba8..b9a4a48 100644 --- a/pagesB/upload-video/upload-video.vue +++ b/pagesB/upload-video/upload-video.vue @@ -9,6 +9,9 @@ 视频上传 + + + @@ -77,6 +80,9 @@ this.title = ''; this.videoInfo.full_src = ''; this.$toolAll.tools.showToast('上传练习视频成功'); + setTimeout(()=>{ + uni.navigateBack({delta:1}) + },1000) } setTimeout(()=>{ uni.hideToast();