更改h5视频播放问题

This commit is contained in:
jia 2023-09-04 19:52:13 +08:00
parent 9b2997b694
commit e3872c2c4c

View File

@ -743,19 +743,26 @@
get() {
let that = this
// 1.这里引入后端请求数据
if(this.videoID){
deoList(this.videoID).then(res => {
that.videoData([res.data])
if (res.data.list.length < that.limit) {
this.loadMore = false;
}
}).catch(err => {
return uni.showToast({
title: err,
icon: 'none',
duration: 2000
});
})
this.videoID=''
}else{
videoList().then(res=>{
that.videoData(res.data.list);
})
}
deoList(this.videoID).then(res => {
that.videoData([res.data])
if (res.data.list.length < that.limit) {
this.loadMore = false;
}
}).catch(err => {
return uni.showToast({
title: err,
icon: 'none',
duration: 2000
});
})
// that.isUser ?
// myVideoList(that.userUid, {
// page: that.page,