diff --git a/src/views/user/settings.vue b/src/views/user/settings.vue index f63d020..9a92fef 100644 --- a/src/views/user/settings.vue +++ b/src/views/user/settings.vue @@ -8,6 +8,7 @@ import { authClient } from "@/auth"; const router = useRouter(); const userProfile = ref(null); +const birthday = computed(() => useDateFormat(userProfile?.value?.birthday || "", "YYYY/MM/DD")); async function getUserProfile() { const { data } = await client.api.user.profile.get(); @@ -151,9 +152,20 @@ onMounted(() => { - + +
+ {{ birthday }} +
+
- +