fix(front): conditionally render title in BaseCard component to prevent display issues when title is not provided

This commit is contained in:
keven1024
2026-02-26 18:57:55 +08:00
parent ae7db9de02
commit 3d8d1ccd3f

View File

@@ -8,7 +8,7 @@ const router = useRouter()
<template>
<div class="rounded-xl p-5 bg-white/50 backdrop-blur-xl w-full lg:w-200">
<div class="flex flex-row justify-between">
<div v-if="title" class="flex flex-row justify-between">
<h1 class="text-xl font-normal">{{ title }}</h1>
<Button
v-if="!!showBackButton"