fix(系统设置): 字体管理-补充 搜索无结果状态

This commit is contained in:
dataeaseShu 2024-12-25 15:49:12 +08:00 committed by fit2cloud-chenyw
parent 8cc604b416
commit 0a213eda4d
2 changed files with 5 additions and 2 deletions

View File

@ -138,7 +138,7 @@ defineExpose({
<template #empty>
<empty-background
v-if="props.showEmptyImg"
:description="props.emptyDesc ? props.emptyDesc : '暂无数据'"
:description="props.emptyDesc ? props.emptyDesc : $t('data_set.no_data')"
:img-type="imgType || 'noneWhite'"
/>
</template>

View File

@ -142,7 +142,7 @@ onMounted(() => {
</div>
</div>
<div class="font-content_overflow">
<div class="font-content_list">
<div class="font-content_list" v-if="fontListComputed.length">
<div class="font-content_item" v-for="ele in fontListComputed" :key="ele">
<span v-if="ele.isDefault" class="font-default">{{ t('system.default_font') }}</span>
<div class="font-name">
@ -175,6 +175,9 @@ onMounted(() => {
</div>
</div>
</div>
<div style="height: 178px; margin-top: 142px" v-else>
<empty-background :description="$t('work_branch.relevant_content_found')" img-type="tree" />
</div>
</div>
</div>
<UploadDetail @finish="uploadFilish" ref="uploadDetail"></UploadDetail>