feat: 更新 @riwa/api-types 依赖至 0.0.49,优化用户数据处理逻辑
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user