微调
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
/>
|
||||
</div>
|
||||
<span class="nav-bar-title">
|
||||
{{ getTheme.name }}
|
||||
{{ getTheme?.name || '' }}
|
||||
<span style="font-size: 14px">({{ Version || 'v1.0.0' }})</span>
|
||||
<!-- <span style="font-size: 14px;" v-if="Version?.versionName">
|
||||
({{ Version?.versionName }})
|
||||
@@ -28,7 +28,9 @@ import { getLastData } from '@/api/systerm'
|
||||
|
||||
const Version: any = ref(null)
|
||||
const config = useConfig()
|
||||
const getTheme = JSON.parse(window.localStorage.getItem('getTheme') as string)
|
||||
const getTheme = window.localStorage.getItem('getTheme')
|
||||
? JSON.parse(window.localStorage.getItem('getTheme') as string)
|
||||
: { name: '' }
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'hainan'
|
||||
const onMenuCollapse = () => {
|
||||
showShade('ba-aside-menu-shade', () => {
|
||||
@@ -43,7 +45,7 @@ onMounted(() => {
|
||||
})
|
||||
}
|
||||
|
||||
document.title = getTheme.name
|
||||
document.title = getTheme?.name || ''
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user