From b86a628d1d14a3eb9da43198f5e48e6179b88e87 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 20 十一月 2024 15:33:17 +0800 Subject: [PATCH] 文件上传格式 --- src/store/modules/user.ts | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index 2593d1a..6808194 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -34,6 +34,7 @@ const getInfo = async (): Promise<void> => { const [err, res] = await to(getUserInfo()); if (res) { + console.log(res,'getUserInfo'); const data = res.data; const user = data.user; const profile = user.avatar == '' || user.avatar == null ? defAva : user.avatar; -- Gitblit v1.8.0