add pre-filling info in repair page

main
Dawn1Ocean 2024-03-20 23:26:54 +08:00
parent 5b08555359
commit 42ee477ec4
2 changed files with 4 additions and 3 deletions

View File

@ -114,7 +114,7 @@ export default {
'GET /checklogin': { 'GET /checklogin': {
success: true, success: true,
data: { data: {
islogin: false, islogin: true,
}, },
}, },
}; };

View File

@ -4,14 +4,15 @@ import { View } from '@tarojs/components';
import Taro from '@tarojs/taro'; import Taro from '@tarojs/taro';
import pt from '@/plain-text'; import pt from '@/plain-text';
import { updateUserInfo } from '@/service/userData'; import { updateUserInfo } from '@/service/userData';
import wechatUser from '@/wechat';
import './inform.scss'; import './inform.scss';
const submitInterval = 5000; const submitInterval = 5000;
export default class InformPage extends Component { export default class InformPage extends Component {
state = { state = {
phone: '', phone: wechatUser.getInfo().phone,
name: '', name: wechatUser.getInfo().name,
isLoading: false, isLoading: false,
isDisable: false, isDisable: false,
}; };