fix(core): Fix upload ui component attr error

This commit is contained in:
Fangyin Cheng
2024-08-19 07:42:11 +08:00
parent 44a14455a2
commit 354a8ac3aa

View File

@@ -367,7 +367,10 @@ class UIUpload(UIComponent):
)
ui_type: Literal["upload"] = Field("upload", frozen=True)
attr: Optional[UIAttribute] = Field(
None,
description="The attributes of the component",
)
max_file_size: Optional[int] = Field(
None,
description="The maximum size of the file, in bytes",