feat: 更新 @riwa/api-types 依赖至 0.0.49,优化用户数据处理逻辑

This commit is contained in:
2025-12-22 05:45:24 +07:00
parent 66e2222c48
commit 6d9b6b0a1b
9 changed files with 20 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ import { authClient } from "@/auth";
const router = useRouter();
const userStore = useUserStore();
const { user, userProfile } = storeToRefs(userStore);
const { userProfile } = storeToRefs(userStore);
async function handleSignOut() {
const alert = await alertController.create({
@@ -118,7 +118,7 @@ function handleCopyUid() {
</div>
</div>
<div class="end">
{{ user?.email }}
{{ userProfile?.user?.email }}
</div>
</div>
</ion-item>