mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-05 06:04:35 +08:00
fix: Fix page loading flicker issue (#10187)
This commit is contained in:
parent
021603d25d
commit
b0dbfb4c7c
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Add table
Reference in a new issue