pages/tabBar/count/count.vue
@@ -63,7 +63,11 @@ return { page: 'pages/tabBar/count/count', statusBarHeight: '', user: {}, user: { name: '', phone: '', company: {}, }, examParams: { pageNum: 1, pageSize: 10, @@ -75,11 +79,13 @@ }, created(){ this.getUserDetail() }, onShow(){ this.getUserDetail() }, onLoad() { this.statusBarHeight = uni.getSystemInfoSync()['statusBarHeight']; this.getUserInfo() }, methods: { @@ -89,7 +95,7 @@ }); }, getUserInfo(){ getUserDetail(){ getUserInfo(uni.getStorageSync('uid')).then(res => { if(res.code == 200) { this.user = res.data