From f4ed2c4a1412f7256614e04e18683ca15a89bb25 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Wed, 05 Nov 2025 08:58:21 +0800
Subject: [PATCH] 新增
---
pages/tabBar/count/count.vue | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/pages/tabBar/count/count.vue b/pages/tabBar/count/count.vue
index 8f78d50..402566f 100644
--- a/pages/tabBar/count/count.vue
+++ b/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
--
Gitblit v1.9.2