feat(front): enhance FileShareResult and FileUploadField components with internationalization support, adding localized text for file sharing success and related UI elements

This commit is contained in:
keven
2025-10-18 10:43:57 +08:00
parent 8fad0a4163
commit fa17009695
4 changed files with 35 additions and 19 deletions

View File

@@ -39,7 +39,7 @@ const { t } = useI18n()
<Button
class="size-5 p-0 bg-red-500/20 hover:bg-red-500/60 text-red-500 hover:text-white"
@click="
(e) => {
(e: any) => {
e.stopPropagation()
setValue(
value?.filter((r) => r?.name !== item?.name || r?.type !== item?.type || r?.size !== item?.size) || []