李志伟 3 лет назад
Родитель
Сommit
b5de54b573
3 измененных файлов: 3 добавлений и 3 удалений
  1. 1
    1
      src/pages/login/index.jsx
  2. 1
    1
      src/pages/moreOrder/index.jsx
  3. 1
    1
      src/store/models/person.js

+ 1
- 1
src/pages/login/index.jsx Просмотреть файл

116
         <View className='title2'>欢迎进入农机手端小程序!</View>
116
         <View className='title2'>欢迎进入农机手端小程序!</View>
117
         <View className='loginCell'>
117
         <View className='loginCell'>
118
           <View className='loginHeader'>+86</View>
118
           <View className='loginHeader'>+86</View>
119
-          <Input type='number' maxlength='11' placeholder='请输入手机号' value={phone} onBlur={handlePhone} />
119
+          <Input type='number' maxlength='11' placeholder='请输入手机号' value={phone} onInput={handlePhone} />
120
           <Button  className={['loginAction',dsb?'qCodeActive':'']} disabled={dsb} onClick={dsb?'':changeqCode}>{qCodeBtn}</Button>
120
           <Button  className={['loginAction',dsb?'qCodeActive':'']} disabled={dsb} onClick={dsb?'':changeqCode}>{qCodeBtn}</Button>
121
         </View>
121
         </View>
122
         <View className='loginCell'>
122
         <View className='loginCell'>

+ 1
- 1
src/pages/moreOrder/index.jsx Просмотреть файл

74
       </View>
74
       </View>
75
       <View className='index-container'>
75
       <View className='index-container'>
76
         <ScrollView scrollY style={{ height: '100%' }}>
76
         <ScrollView scrollY style={{ height: '100%' }}>
77
-          {currentTab}
77
+          {/* {currentTab} */}
78
           <MyCard />
78
           <MyCard />
79
           <MyCard />
79
           <MyCard />
80
           <MyCard />
80
           <MyCard />

+ 1
- 1
src/store/models/person.js Просмотреть файл

9
   const login = (params) => {
9
   const login = (params) => {
10
     signIn(params).then((res) => {
10
     signIn(params).then((res) => {
11
       const { person: taPerson,  sessionKey: skey } = res;
11
       const { person: taPerson,  sessionKey: skey } = res;
12
-      taPerson.phone=null
12
+      // taPerson.phone=null
13
       setPerson(taPerson);
13
       setPerson(taPerson);
14
       setSessionKey(skey);
14
       setSessionKey(skey);
15
     })
15
     })