Rorschach 6 years ago
parent
commit
7c6b8a6ab8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/user/myEdit/myEdit.js

+ 1 - 1
pages/user/myEdit/myEdit.js

@@ -44,7 +44,7 @@ Page({
     const data = {
     const data = {
       wechatName: e.detail.value.nickname || '',
       wechatName: e.detail.value.nickname || '',
       mobile: '',
       mobile: '',
-      gender: 1,
+      gender: e.detail.value.radioGroup1,
       schoolProvince: '',
       schoolProvince: '',
       schoolCity: '',
       schoolCity: '',
       schoolName: e.detail.value.address || '',
       schoolName: e.detail.value.address || '',