关注视频的加载错误

This commit is contained in:
THK3121 2023-06-02 15:33:57 +08:00
commit 6110b4a2f7

View File

@ -682,7 +682,10 @@
console.log('eeeee', event.detail.current); console.log('eeeee', event.detail.current);
this.k = event.detail.current; this.k = event.detail.current;
this.posterImage = false; this.posterImage = false;
this.communityId = this.dataList[this.k]['community_id']; if (this.isLogin) {
this.downloadFilePromotionCode(this.dataList[this.k]['community_id']);
}
}, },
animationfinish(event) { animationfinish(event) {
// 1.这里进行判断,如果是最后一个视频就进入 get() 方法加载视频进入列表 // 1.这里进行判断,如果是最后一个视频就进入 get() 方法加载视频进入列表
@ -788,7 +791,6 @@
}) })
}, },
videoData(list) { videoData(list) {
this.communityId = list[0]['community_id']
if (list.length == 0) return if (list.length == 0) return
let that = this; let that = this;
that.page = that.page + 1; that.page = that.page + 1;
@ -931,6 +933,10 @@
* 生成海报 * 生成海报
*/ */
async goPoster() { async goPoster() {
// if (!this.isLogin) {
// console.log(this.downloadFilePromotionCode(this.dataList[this.k]['community_id']));
// // this.downloadFilePromotionCode(this.videoID);
// }
let that = this; let that = this;
if (!that.isLogin) {} if (!that.isLogin) {}
let type; let type;