|
@@ -140,7 +140,7 @@ Page({
|
|
|
if (school.errcode == '0') arr.data.zhSchool = school.data.name;
|
|
|
const lesson = await app.$post(`/tryLessonApply/checkCanUse`, { school_id: arr.data.school_id, lesson_id: that.data.id, student_id: res.data.info.id })
|
|
|
if (lesson.errcode == '0') arr.data.type_try = '0';
|
|
|
- else wx.showToast({ title: `${lesson.errmsg}`, icon: 'error', duration: 2000 })
|
|
|
+ else wx.showToast({ title: `${lesson.errmsg}`, icon: 'none', duration: 2000 })
|
|
|
const lessonStudent = await app.$get(`/lessonStudent`, { school_id: arr.data.school_id, student_id: res.data.info.id, lesson_id: that.data.id })
|
|
|
if (lessonStudent.errcode == '0' && lessonStudent.total > 0) arr.data.sign = '1';
|
|
|
else arr.data.sign = '0';
|