🐛 fix(SRTEditor): 修复字幕输入框图标载入问题

This commit is contained in:
2025-01-12 02:03:12 +08:00
parent 2dd93a43bf
commit c3ab5d623b

View File

@@ -346,8 +346,7 @@ defineExpose({
:autofocus="false" :color="subtitle.active ? 'primary' : undefined" :autofocus="false" :color="subtitle.active ? 'primary' : undefined"
@click="onSubtitleInputClick(subtitle)" @input="() => { if (!modified) modified = true }"> @click="onSubtitleInputClick(subtitle)" @input="() => { if (!modified) modified = true }">
<template #trailing> <template #trailing>
<!-- FIXME: maybe a bug here --> <UIcon v-show="subtitle.active" name="tabler:keyframe-align-vertical-filled" />
<UIcon v-if="subtitle.active" name="tabler:keyframe-align-vertical-filled" />
</template> </template>
</UInput> </UInput>
</div> </div>