style(ollama): optimize retest button icon alignment using #icon slot

main
ice 2026-01-27 13:56:02 +08:00 committed by lyingbug
parent c805334cf5
commit 98049ef091
1 changed files with 7 additions and 2 deletions

View File

@ -52,7 +52,9 @@
:loading="testing"
@click="testConnection"
>
<t-icon name="refresh" />
<template #icon>
<t-icon name="refresh" />
</template>
{{ $t('ollamaSettings.status.retest') }}
</t-button>
</div>
@ -141,7 +143,10 @@
:loading="loadingModels"
@click="refreshModels"
>
<t-icon name="refresh" />{{ $t('common.refresh') }}
<template #icon>
<t-icon name="refresh" />
</template>
{{ $t('common.refresh') }}
</t-button>
</div>