集中配置四端品牌展示名称
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user