Commit e4402b95 by hank

bug

parent 78fb990e
......@@ -118,16 +118,22 @@ export default {
this.hiddenBar();
this.getUserInfo();
},
activated() {
this.getUserInfo()
},
methods: {
getUserInfo() {
axios.get('/contest/user/info').then(res => {
// alert(JSON.stringify(res.data.data))
this.realName = res.data.data.real_name.trim();
this.phoneNumber = res.data.data.mobile.trim();
this.address = res.data.data.address.trim();
this.area = res.data.data.area.trim();
this.userId = res.data.data.id;
this.company = res.data.data.company.trim();
});
},
getIndex(arr, key, value) {
// let arr = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment