add pre-filling info in repair page
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ export default {
|
|||||||
'GET /checklogin': {
|
'GET /checklogin': {
|
||||||
success: true,
|
success: true,
|
||||||
data: {
|
data: {
|
||||||
islogin: false,
|
islogin: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user