修复无法获取user_info问题
This commit is contained in:
1 parent
9429a700d0
commit
bec473e62a
5 files changed
+7
-8
No files matched your search
@@ -356,6 +356,7 @@ onMounted(async () => {
|
||||
try {
|
||||
// 从auth store获取用户信息
|
||||
const id = authStore.user.id;
|
||||
console.log('用户ID:', id);
|
||||
if (!id) {
|
||||
console.error('用户ID不存在');
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user