1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00

feat: 解决图片读不到的问题

This commit is contained in:
zhengkunwang223 2023-02-17 12:17:48 +08:00 committed by zhengkunwang223
parent 819ce10db0
commit abbca655ac
2 changed files with 6 additions and 8 deletions

View File

@ -49,14 +49,12 @@
</template>
<template #main>
<div class="update-prompt" v-if="data == null">
<el-empty
:description="mode === 'update' ? $t('app.updatePrompt') : $t('app.installPrompt')"
image="/src/assets/images/no_update_app.svg"
:image-size="200"
></el-empty>
<div class="update-prompt" v-if="mode === 'update' && data == null">
<span>{{ mode === 'update' ? $t('app.updatePrompt') : $t('app.installPrompt') }}</span>
<div>
<img src="@/assets/images/no_update_app.svg" />
</div>
</div>
<el-row :gutter="5">
<el-col v-for="(installed, index) in data" :key="index" :span="12">
<div class="install-card">

View File

@ -4,7 +4,7 @@
<template #main>
<div style="text-align: center; margin-top: 20px">
<div style="justify-self: center">
<img style="width: 80px" src="@/assets/images/1panel-small.png" />
<img style="width: 80px" src="@/assets/images/1panel-logo-light.png" />
</div>
<h3>{{ $t('setting.description') }}</h3>
<h3>