fix some bugs
This commit is contained in:
+3
-1
@@ -41,7 +41,7 @@
|
||||
class="text-center text-xs"
|
||||
:class="isBoursecuProject() ? 'text-white' : ''"
|
||||
>
|
||||
نسخه: {{ pkg.version }}
|
||||
نسخه: {{ displayVersion }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="absolute bottom-10">
|
||||
@@ -91,6 +91,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import pkg from '../package.json'
|
||||
import { getDisplayAppVersion } from '@/config/config-cache'
|
||||
import {useRegisterSW} from 'virtual:pwa-register/vue'
|
||||
import {computed, defineAsyncComponent, h, onMounted, ref, watch} from 'vue'
|
||||
import img_topGradiant from '@/views/login/assets/img/gr_top_white.svg'
|
||||
@@ -126,6 +127,7 @@ const showDesktopFloatingCredit = computed(() => {
|
||||
})
|
||||
|
||||
useRegisterSW()
|
||||
const displayVersion = getDisplayAppVersion(pkg.version)
|
||||
const config = useConfigStore()
|
||||
const splashIndicator = computed(() => h(LoadingOutlined, {
|
||||
style: {
|
||||
|
||||
Reference in New Issue
Block a user