rockfang commented on issue #16087:
URL:
https://github.com/apache/dolphinscheduler/issues/16087#issuecomment-2136409139
I found the older version works well. but the latest `dev` has this problem.
Here is the reason:
1. backend response different `data` when connect successfuly
- older resonse
`{"code":0,"msg":"成功","data":null,"failed":false,"success":true}`
- latest response
`{"code":0,"msg":"成功","data":true,"failed":false,"success":true}`
You see the `data` changed from `null` to `true`
2. frontend toast message depends on this `data`

Suggest solution:
`window.$message.success(res && res.msg ? res.msg : 'fronted message..')`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]