课程视频回退页面tab被重置的问题

This commit is contained in:
liuyuan
2025-04-29 10:24:00 +08:00
parent 861d047eb5
commit 19dcd82a63
12 changed files with 302 additions and 263 deletions

View File

@@ -593,7 +593,6 @@ export default {
showCountDown: false,
classId: undefined,
//下标
currentIndex: 0,
currentIndex: null,
fixed: null,
//vip活动
@@ -619,7 +618,6 @@ export default {
async onShow() {
//存储的需要固定分类
this.fixed = uni.getStorageSync("fixed");
//固定分类
if (this.fixed) {
this.curseClick(this.currentItem, this.currentIndex);