diff --git a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue index 3e18ead..964cc2e 100644 --- a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue +++ b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue @@ -128,7 +128,7 @@ export default { this.$instance.post(`/app/appwechatuserqujing/idNumberAttestation`, this.form).then(res=> { if(res?.code == 0) { this.flag = false - this.$u.toast('认证成功') + this.$u.toast("提交成功"); setTimeout(()=> { this.showAuth = false this.$emit('toTest',id) diff --git a/src/project/qujing/AppLegalLearning/testForm.vue b/src/project/qujing/AppLegalLearning/testForm.vue index 534aad0..7a90c28 100644 --- a/src/project/qujing/AppLegalLearning/testForm.vue +++ b/src/project/qujing/AppLegalLearning/testForm.vue @@ -75,7 +75,7 @@ export default { subjectConfigs: [], score: 0, assessments: [], // 不合格的分数段 - status: null, // 考试结果,0:未通过、1:通过 + status: 1, // 考试结果,0:未通过、1:通过 startTime: '', nowTime: '', // 时间戳 studyDuration: 0, @@ -189,7 +189,7 @@ export default { }).then(res=> { if(res?.code == 0) { this.flag = false - this.$u.toast('提交成功') + this.$u.toast('认证成功') setTimeout(()=> { uni.navigateTo({ url: `./result?status=${this.status}&time=${this.studyDuration}&rightCount=${this.rightCount}&examCount=${this.list.length}&score=${this.score}`