fix: always render subtitle for item username in template

--bug=1053754 --user=刘瑞斌 【内置函数】添加到函数库中后,未显示创建者 https://www.tapd.cn/57709429/s/1675159
This commit is contained in:
CaptainB 2025-03-24 17:40:14 +08:00
parent 9189a2ff2b
commit 0a148bff4b

View File

@ -117,7 +117,7 @@
/>
</template>
<template #subTitle>
<el-text class="color-secondary" size="small" v-if="!item.template_id">
<el-text class="color-secondary" size="small">
<auto-tooltip :content="item.username">
{{ $t('common.creator') }}: {{ item.username }}
</auto-tooltip>