feat: add icon to graph nodes #918 (#1117)

### What problem does this PR solve?

feat: add icon to graph nodes #918

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-06-11 18:01:19 +08:00
committed by GitHub
parent 8902d92d0e
commit ff5ea266d2
8 changed files with 91 additions and 46 deletions

View File

@@ -112,7 +112,7 @@ export const useSendMessage = (
}
const res = await send(params);
if (res?.response.status !== 200 || res?.data?.retcode !== 0) {
if (res && (res?.response.status !== 200 || res?.data?.retcode !== 0)) {
antMessage.error(res?.data?.retmsg);
// cancel loading