This commit is contained in:
zhaofang
2022-11-24 10:47:16 +08:00
parent 1052b0a918
commit 38b3ca9907

View File

@@ -402,6 +402,9 @@
} }
}) })
}, },
mounted() {
window.addEventListener('click',this.reSetList);
},
onPullDownRefresh() { onPullDownRefresh() {
this.onReachBottom(); this.onReachBottom();
}, },
@@ -420,7 +423,13 @@
}, 500); }, 500);
}, },
methods: { methods: {
reSetList() {
this.studyList.forEach(item=>{
item.delcour = false;
})
},
removecour(item){ removecour(item){
this.reSetList();
item.delcour = !item.delcour item.delcour = !item.delcour
}, },
rowbtn(row) { rowbtn(row) {