Skip to content

Commit 978a1c1

Browse files
committed
修改form默认字段
1 parent d531564 commit 978a1c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fast_tmp/amis/forms/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66

77
class Form(BaseAmisModel):
88
type = "form"
9-
name: str
9+
name: Optional[str]
1010
title: Optional[str]
1111
submitText: Optional[str]
1212
wrapWithPanel: Optional[bool]
13-
api: str
13+
api: Optional[str]
1414
initApi: Optional[str]
1515
# interval: int = 3000??
1616
primaryField: Optional[str] # 设置主键"id"
1717
body: List[AbstractControl]
18+

0 commit comments

Comments
 (0)