Browse Source

Merge branch 'v3' of http://git.jihengcc.cn/starfire/spark-student into v3

zhangli 2 years ago
parent
commit
ff31750e93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pagesMain/subscribeInfo.vue

+ 1 - 1
pagesMain/subscribeInfo.vue

@@ -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);