fix: remove duplicate MessageItem #1289 (#1566)

### What problem does this PR solve?

fix: remove duplicate MessageItem #1289

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-07-17 14:49:11 +08:00
committed by GitHub
parent 1015436691
commit fe5dd5b70a
12 changed files with 73 additions and 408 deletions

View File

@ -120,7 +120,7 @@ export const useSetFlow = () => {
dsl?: DSL;
avatar?: string;
}) => {
const { data } = await flowService.setCanvas(params);
const { data = {} } = await flowService.setCanvas(params);
if (data.retcode === 0) {
message.success(
i18n.t(`message.${params?.id ? 'modified' : 'created'}`),