修改公告图片的显示问题

v1.0.0
于肖磊 2024-08-26 09:57:17 +08:00
parent 3ce64a27f5
commit df464411ee
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<div class="flex-row align-c news-box gap-y-8">
<template v-if="form.title_type == 'img'">
<div v-if="!isEmpty(form.img_src)">
<el-image :src="form.img_src[0]?.url || ''" :style="img_style"></el-image>
<image-empty v-model="form.img_src[0]" :style="img_style"></image-empty>
</div>
</template>
<template v-else>
@ -21,7 +21,7 @@
<div class="flex-row w jc-sb">
<template v-if="form.title_type == 'img'">
<div v-if="!isEmpty(form.img_src)" >
<el-image :src="form.img_src[0]?.url || ''" :style="img_style"></el-image>
<image-empty v-model="form.img_src[0]" :style="img_style"></image-empty>
</div>
</template>
<template v-else>