|
@@ -108,7 +108,7 @@
|
|
|
onLoad(options) {
|
|
|
const item = JSON.parse(decodeURIComponent(options.item));
|
|
|
this.venueId = item.venueId
|
|
|
- this.subscribelForm = { ...item, classId: item.classId, sex:item.sex == 1 ? '男' : '女', coachName: item.coachId != -1 ? item.coachName : ''}
|
|
|
+ this.subscribelForm = { ...item, classId: item.classId, sex:item.sex == 0 ? '男' : '女', coachName: item.coachId != -1 ? item.coachName : ''}
|
|
|
},
|
|
|
onReady() {
|
|
|
this.$refs.subscribelForm.setRules(this.rules);
|