[baozhangchao] 2 years ago
parent
commit
25a9dbae55
2 changed files with 1 additions and 2 deletions
  1. 0
    1
      src/components/LoginModel/index.jsx
  2. 1
    1
      src/store/userData.js

+ 0
- 1
src/components/LoginModel/index.jsx View File

157
                 <View className='loginPhone-box' >
157
                 <View className='loginPhone-box' >
158
                   <View className='loginPhone-box-loginPhoneView'>+86</View>
158
                   <View className='loginPhone-box-loginPhoneView'>+86</View>
159
                   <Input maxlength={11} placeholder='请输入手机号码' type={Number} value={InputPhoneValue} onInput={onInputPhone} />
159
                   <Input maxlength={11} placeholder='请输入手机号码' type={Number} value={InputPhoneValue} onInput={onInputPhone} />
160
-
161
                   <ButtontWX opacity={countCenter.show_btn ? '0.7' : '11'} disabled={countCenter.show_btn} onClick={getCode} butText={countCenter.code_ts} butWidth={94} butHeight={34} butFontSize={15} butBorderRadius={10} />
160
                   <ButtontWX opacity={countCenter.show_btn ? '0.7' : '11'} disabled={countCenter.show_btn} onClick={getCode} butText={countCenter.code_ts} butWidth={94} butHeight={34} butFontSize={15} butBorderRadius={10} />
162
                 </View>
161
                 </View>
163
                 <View className='loginPhone-box'>
162
                 <View className='loginPhone-box'>

+ 1
- 1
src/store/userData.js View File

21
   const logins = (params) => {
21
   const logins = (params) => {
22
     login(params).then((res) => {
22
     login(params).then((res) => {
23
       const { person: taPerson, sessionKey: skey } = res;
23
       const { person: taPerson, sessionKey: skey } = res;
24
-      taPerson.phone = null
24
+      // taPerson.phone = null
25
       setPerson(taPerson);
25
       setPerson(taPerson);
26
       setSessionKey(skey);
26
       setSessionKey(skey);
27
     })
27
     })