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 - 上海市浦东新区张江高科技园区 - 编辑资料 + 编辑资料