feat(ui): new Layout UI using antd

This commit is contained in:
Fu Diwei
2024-12-07 13:47:02 +08:00
parent 2facb160aa
commit d6ddf8e9f4
18 changed files with 229 additions and 204 deletions

View File

@@ -87,7 +87,7 @@ const WorkflowDetail = () => {
}
switchEnable();
if (!locId) {
navigate(`/workflow/detail?id=${workflow.id}`);
navigate(`/workflows/detail?id=${workflow.id}`);
}
};
@@ -102,7 +102,7 @@ const WorkflowDetail = () => {
}
save();
if (!locId) {
navigate(`/workflow/detail?id=${workflow.id}`);
navigate(`/workflows/detail?id=${workflow.id}`);
}
};

View File

@@ -112,7 +112,7 @@ const WorkflowList = () => {
type="link"
icon={<PencilIcon size={16} />}
onClick={() => {
navigate(`/workflow/detail?id=${record.id}`);
navigate(`/workflows/detail?id=${record.id}`);
}}
/>
</Tooltip>
@@ -202,7 +202,7 @@ const WorkflowList = () => {
};
const handleCreateClick = () => {
navigate("/workflow/detail");
navigate("/workflows/detail");
};
// TODO: Empty 样式