feat: update to antd 5.0 (#1362)

* feat: update to ant5.X

* fix: incompatible styles

* fix: adjust the style
This commit is contained in:
Yaodong Yu
2022-12-04 23:05:30 +08:00
committed by GitHub
parent a44a4b0300
commit 0856977b92
37 changed files with 409 additions and 376 deletions

View File

@ -231,7 +231,7 @@ class OrganizationListPage extends BaseListPage {
onConfirm={() => this.deleteOrganization(index)}
disabled={record.name === "built-in"}
>
<Button style={{marginBottom: "10px"}} disabled={record.name === "built-in"} type="danger">{i18next.t("general:Delete")}</Button>
<Button style={{marginBottom: "10px"}} disabled={record.name === "built-in"} type="primary" danger>{i18next.t("general:Delete")}</Button>
</Popconfirm>
</div>
);