Skip to content

Commit 6b3596d

Browse files
committed
perf: Upgrade amis to 6.1.0
1 parent 8c009d5 commit 6b3596d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

fastapi_amis_admin/admin/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ async def get_list_table(self, request: Request) -> TableCRUD:
763763
"filter-toggler",
764764
"reload",
765765
"bulkActions",
766-
{"type": "columns-toggler", "align": "right"},
766+
{"type": "columns-toggler", "align": "right", "draggable": True},
767767
{"type": "drag-toggler", "align": "right"},
768768
{"type": "pagination", "align": "right"},
769769
{

fastapi_amis_admin/admin/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _wrap_form_item(self, formitem: FormItem) -> FormItem:
7070
formitem,
7171
formitem.copy(
7272
exclude={"maxLength", "receiver"},
73-
update={"type": "input-text"},
73+
update={"type": "textarea"},
7474
),
7575
],
7676
)

fastapi_amis_admin/admin/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Settings(BaseSettings):
2222
database_url: str = ""
2323
language: Union[Literal["zh_CN", "en_US", "de_DE"], str] = ""
2424
amis_cdn: str = "https://unpkg.com"
25-
amis_pkg: str = "amis@6.0.0"
25+
amis_pkg: str = "amis@6.1.0"
2626
amis_theme: Literal["cxd", "antd", "dark", "ang"] = "cxd"
2727
amis_image_receiver: API = None # Image upload interface
2828
amis_file_receiver: API = None # File upload interface

0 commit comments

Comments
 (0)