修复无法获取user_info问题

This commit is contained in:
hero920103 committed 2026-01-26 15:07:24 +08:00
1 parent 9429a700d0
commit bec473e62a
5 files changed
+7 -8

No files matched your search

+1
View File
@@ -356,6 +356,7 @@ onMounted(async () => {
try {
// 从auth store获取用户信息
const id = authStore.user.id;
console.log('用户ID:', id);
if (!id) {
console.error('用户ID不存在');
return;