diff --git a/pages/index/addCoach.vue b/pages/index/addCoach.vue index 21aefbe..0df12f6 100644 --- a/pages/index/addCoach.vue +++ b/pages/index/addCoach.vue @@ -83,7 +83,7 @@ url: '/drivingSchool/system/driveSchoolCourse/' + id, method: 'get' }).then((res) => { - if (res.code == 200) { + if (res.code == 0) { this.formData = res.data this.fileList1 = [{ url: this.imageUrl + res.data.photo