diff --git a/src/project/qujing/AppLegalLearning/classDetail.vue b/src/project/qujing/AppLegalLearning/classDetail.vue index bddc048..ababd0c 100644 --- a/src/project/qujing/AppLegalLearning/classDetail.vue +++ b/src/project/qujing/AppLegalLearning/classDetail.vue @@ -123,9 +123,24 @@ export default { this.$u.toast(err.msg) }) }, + stop() { + this.$instance.post(`/app/appcourseinfo/stopLearnById`,null,{ + params: { + id: this.data.id, + recordId: this.data.recordId + } + }).then(res=> { + if(res.code==0) { + console.log(res.msg); + } + }).catch(err=> this.$u.toast(err.msg)) + }, keyboard(e) { console.log(e.detail.height); } + }, + onUnload() { + this.stop() } } diff --git a/src/project/qujing/AppLegalLearning/testForm.vue b/src/project/qujing/AppLegalLearning/testForm.vue index f5966f6..4eda307 100644 --- a/src/project/qujing/AppLegalLearning/testForm.vue +++ b/src/project/qujing/AppLegalLearning/testForm.vue @@ -12,28 +12,21 @@