app视频处理

This commit is contained in:
jia 2023-10-07 11:41:00 +08:00
parent 11c8d1fdd1
commit 4529f209ca

View File

@ -931,7 +931,7 @@ import list from '../../../uni_modules/uview-ui/libs/config/props/list';
limit: this.limit, limit: this.limit,
id: this.videoID id: this.videoID
}).then(async (res) => { }).then(async (res) => {
this.page = that.page + 1
this.loadVideo = false this.loadVideo = false
this.userUid = res.data.uid this.userUid = res.data.uid
@ -949,6 +949,7 @@ import list from '../../../uni_modules/uview-ui/libs/config/props/list';
if (this.dataList.length !== 0) { if (this.dataList.length !== 0) {
this.dataList[this.k].state = 'play'; this.dataList[this.k].state = 'play';
uni.createVideoContext(this.dataList[this.k].community_id, this).play() uni.createVideoContext(this.dataList[this.k].community_id, this).play()
this.page = that.page + 1
} }
}).catch(err => { }).catch(err => {
return uni.showToast({ return uni.showToast({