### What problem does this PR solve? feat: Fixed the issue where the test database connection was successful but the prompt message showed that there was no error status #1739 ### Type of change - [x] New Feature (non-breaking change which adds functionality)tags/v0.10.0
| mutationKey: ['testDbConnect'], | mutationKey: ['testDbConnect'], | ||||
| mutationFn: async (params: any) => { | mutationFn: async (params: any) => { | ||||
| const ret = await flowService.testDbConnect(params); | const ret = await flowService.testDbConnect(params); | ||||
| if (ret?.retcode === 0) { | |||||
| if (ret?.data?.retcode === 0) { | |||||
| message.success(ret?.data?.data); | message.success(ret?.data?.data); | ||||
| } else { | } else { | ||||
| message.error(ret?.data?.data); | message.error(ret?.data?.data); |