diff --git a/src/layouts/components/Brand.vue b/src/layouts/components/Brand.vue index e0a2f68..15da814 100644 --- a/src/layouts/components/Brand.vue +++ b/src/layouts/components/Brand.vue @@ -1,12 +1,7 @@ @@ -15,7 +10,7 @@ import { storeToRefs } from 'pinia' import { computed } from 'vue' import { config } from '@/config' import { useAppStore } from '@/store' - +import storage from '@/utils/storage' defineOptions({ name: 'Brand', }) @@ -49,6 +44,10 @@ const cpStyle = computed(() => { height: `${appConfig.value.headerHeight}px`, } }) +const Title = computed(() => { + const platForm = storage.local.getItem('platform') + return platForm == 'jianguan' ? '智慧养老居家监管平台' : platForm == 'yunying' ? '智慧养老居家运营平台' : '智慧养老居家呼叫平台' +})