mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-15 05:46:46 +08:00
提交
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user