From 1258138ba95dc4c7b8d2254204d32a0d1e9d3a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=A6=E5=93=A5?= <17630302050@163.com> Date: Sun, 23 Nov 2025 22:21:01 +0800 Subject: [PATCH] sdwer --- pages/my/editInfo/index.vue | 7 ++++--- pages/my/index.vue | 18 ++++++++++++------ 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/pages/my/editInfo/index.vue b/pages/my/editInfo/index.vue index be1bb9f..f725c03 100644 --- a/pages/my/editInfo/index.vue +++ b/pages/my/editInfo/index.vue @@ -95,20 +95,21 @@ export default { } }, onLoad() { + this.loadProfile(); }, methods: { loadProfile() { try { - const is_personal_information_complete = uni.getStorageSync('is_personal_information_complete'); - if (is_personal_information_complete) { + // const is_personal_information_complete = uni.getStorageSync('is_personal_information_complete'); + // if (is_personal_information_complete) { request('xcx/get_user_info', 'GET').then(res => { this.form = { ...this.form, ...res }; }); - } + // } } catch (error) { console.warn('加载个人信息失败', error); } diff --git a/pages/my/index.vue b/pages/my/index.vue index 0e1baef..1bdc314 100644 --- a/pages/my/index.vue +++ b/pages/my/index.vue @@ -11,18 +11,19 @@ {{ userInfo.username }} + + + + 加入于 2025-01-15 品鉴会员 - - 加入于 2025-01-15 - 上海市浦东新区张江高科技园区 - 编辑资料 + 编辑资料