add pre-filling info in repair page
parent
5b08555359
commit
42ee477ec4
|
|
@ -114,7 +114,7 @@ export default {
|
|||
'GET /checklogin': {
|
||||
success: true,
|
||||
data: {
|
||||
islogin: false,
|
||||
islogin: true,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,14 +4,15 @@ import { View } from '@tarojs/components';
|
|||
import Taro from '@tarojs/taro';
|
||||
import pt from '@/plain-text';
|
||||
import { updateUserInfo } from '@/service/userData';
|
||||
import wechatUser from '@/wechat';
|
||||
import './inform.scss';
|
||||
|
||||
const submitInterval = 5000;
|
||||
|
||||
export default class InformPage extends Component {
|
||||
state = {
|
||||
phone: '',
|
||||
name: '',
|
||||
phone: wechatUser.getInfo().phone,
|
||||
name: wechatUser.getInfo().name,
|
||||
isLoading: false,
|
||||
isDisable: false,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue