集中配置四端品牌展示名称

This commit is contained in:
2026-07-02 23:15:57 +08:00
parent d999af7a81
commit 2c23d764a1
27 changed files with 117 additions and 33 deletions
@@ -21,6 +21,7 @@ import { computed } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import { ChevronLeft } from 'lucide-vue-next'
import TabBar from '@/components/TabBar.vue'
import { BRAND_CONFIG } from '@/config/brand'
const props = defineProps<{
title?: string
@@ -33,7 +34,7 @@ const router = useRouter()
const showTab = computed(() => Boolean(route.meta.tab))
const showHeader = computed(() => !props.hideHeader && !showTab.value)
const title = computed(() => props.title || String(route.meta.title || 'Jayu Salon'))
const title = computed(() => props.title || String(route.meta.title || BRAND_CONFIG.appName))
const goBack = (): void => {
if (window.history.length > 1) {