From 2552d79ce9870f32bd2e35085b450548f9b538c8 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期三, 06 十一月 2024 14:19:25 +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