fix: Fix page loading flicker issue (#10187)

This commit is contained in:
2025-08-29 13:52:17 +08:00 committed by GitHub
parent 021603d25d
commit b0dbfb4c7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,7 @@
</template>
<template #main>
<div>
<MainDiv :heightDiff="300">
<MainDiv :heightDiff="350">
<el-alert type="info" :title="$t('app.appHelper')" :closable="false" />
<el-row :gutter="5" v-if="apps.length > 0">
<el-col
@ -121,7 +121,7 @@ const taskLogRef = ref();
const syncCustomAppstore = ref(false);
const isActive = ref(false);
const isExist = ref(false);
const noApp = ref(true);
const noApp = ref(false);
const refresh = () => {
search(req);

View file

@ -16,7 +16,7 @@
</template>
<template #main>
<div>
<MainDiv :heightDiff="mode === 'upgrade' ? 270 : 300">
<MainDiv :heightDiff="mode === 'upgrade' ? 315 : 350">
<el-alert type="info" :closable="false" v-if="mode === 'installed'">
<template #title>
<span class="flx-align-center">
@ -33,7 +33,7 @@
</span>
</template>
</el-alert>
<div class="update-prompt" v-if="data == null">
<div class="update-prompt" v-if="data === null">
<span>{{ mode === 'upgrade' ? $t('app.updatePrompt') : $t('app.installPrompt') }}</span>
<div>
<img src="@/assets/images/no_update_app.svg" />