1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 16:29:17 +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>
<template #main> <template #main>
<div class="update-prompt" v-if="data == null"> <div class="update-prompt" v-if="mode === 'update' && data == null">
<el-empty <span>{{ mode === 'update' ? $t('app.updatePrompt') : $t('app.installPrompt') }}</span>
:description="mode === 'update' ? $t('app.updatePrompt') : $t('app.installPrompt')" <div>
image="/src/assets/images/no_update_app.svg" <img src="@/assets/images/no_update_app.svg" />
:image-size="200" </div>
></el-empty>
</div> </div>
<el-row :gutter="5"> <el-row :gutter="5">
<el-col v-for="(installed, index) in data" :key="index" :span="12"> <el-col v-for="(installed, index) in data" :key="index" :span="12">
<div class="install-card"> <div class="install-card">

View File

@ -4,7 +4,7 @@
<template #main> <template #main>
<div style="text-align: center; margin-top: 20px"> <div style="text-align: center; margin-top: 20px">
<div style="justify-self: center"> <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> </div>
<h3>{{ $t('setting.description') }}</h3> <h3>{{ $t('setting.description') }}</h3>
<h3> <h3>