From baa83ecec85e2004e11644db6c1c15d05e6b996f Mon Sep 17 00:00:00 2001 From: zernonia Date: Sat, 20 Apr 2024 09:32:48 +0800 Subject: [PATCH] feat: improve file upload --- .../registry/new-york/example/AutoForm.vue | 9 ++++++++ .../new-york/ui/auto-form/fields/File.vue | 22 +++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/apps/www/src/lib/registry/new-york/example/AutoForm.vue b/apps/www/src/lib/registry/new-york/example/AutoForm.vue index 62d3f192..5ca6ef8b 100644 --- a/apps/www/src/lib/registry/new-york/example/AutoForm.vue +++ b/apps/www/src/lib/registry/new-york/example/AutoForm.vue @@ -145,6 +145,15 @@ function onSubmit(values: Record) { + + diff --git a/apps/www/src/lib/registry/new-york/ui/auto-form/fields/File.vue b/apps/www/src/lib/registry/new-york/ui/auto-form/fields/File.vue index 56dd6030..432ebba3 100644 --- a/apps/www/src/lib/registry/new-york/ui/auto-form/fields/File.vue +++ b/apps/www/src/lib/registry/new-york/ui/auto-form/fields/File.vue @@ -1,12 +1,16 @@