From 1e8bfbb7c7d912f999b1129d57826a95bb53bf5c Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Mon, 11 Aug 2025 04:53:42 +0800 Subject: [PATCH] fix(ui): InputFile wasn't using BasicInputFile --- .../components/Form/Input/BasicInputFile.vue | 13 ++++- .../src/components/Form/Input/InputFile.vue | 58 ++++++------------- 2 files changed, 29 insertions(+), 42 deletions(-) diff --git a/packages/ui/src/components/Form/Input/BasicInputFile.vue b/packages/ui/src/components/Form/Input/BasicInputFile.vue index 6ca465dae..8688cf170 100644 --- a/packages/ui/src/components/Form/Input/BasicInputFile.vue +++ b/packages/ui/src/components/Form/Input/BasicInputFile.vue @@ -2,7 +2,10 @@ import { useDebounce } from '@vueuse/core' import { ref } from 'vue' -defineProps<{ +const props = defineProps<{ + class?: string | string[] | null + isDraggingClasses?: string | string[] | null + isNotDraggingClasses?: string | string[] | null accept?: string multiple?: boolean }>() @@ -28,6 +31,12 @@ function handleFileChange(e: Event) {