fix some bugs
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { computed } from 'vue'
|
||||
import pkg from '../../../../../package.json'
|
||||
import { getDisplayAppVersion } from '@/config/config-cache'
|
||||
import BasicIcon from '@/components/BasicPacks/BasicIcon.vue'
|
||||
import { useConfigStore } from '@/store/configStore'
|
||||
import {
|
||||
@@ -54,7 +55,7 @@ const config = useConfigStore()
|
||||
const isBoursecu = isBoursecuProject()
|
||||
const isSoroushgold = isSoroushgoldProject()
|
||||
const hasCustomLayout = hasCustomLoginLogoLayout() || isSoroushgold
|
||||
const version = pkg.version
|
||||
const version = getDisplayAppVersion(pkg.version)
|
||||
|
||||
const logo = computed(() => getProjectDesktopLoginBrandLogo(config.config?.avatar))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user