feat(Home): 添加初始化完成状态控制头部标题显示 Fix #91

This commit is contained in:
LOG1997
2025-12-08 23:09:40 +08:00
parent 9c06540068
commit 509cfdfb61
3 changed files with 7 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ interface Props {
topTitle: string
tableData: any[]
setDefaultPersonList: () => void
isInitialDone: boolean
}
const props = defineProps<Props>()
@@ -26,7 +27,7 @@ const { t } = useI18n()
>
{{ topTitle }}
</h2>
<div class="flex gap-3">
<div v-if="isInitialDone" class="flex gap-3">
<button
v-if="tableData.length <= 0" class="cursor-pointer btn btn-outline btn-secondary btn-lg"
@click="router.push('config')"