Toyota-Li commented on issue #17465: URL: https://github.com/apache/dolphinscheduler/issues/17465#issuecomment-3244004229
Fixed, 在\src\components\form\fields\custom-parameters.ts文件中 add方法中 <img width="891" height="332" alt="Image" src="https://github.com/user-attachments/assets/8c349b0e-3519-485d-a13f-0f92bc35decc" /> 我们的defaultvalue不是一个简单的一层的对象是一个2层的对象,原先通过es6的扩展运算符{...defaultValue}之后只有第一次层的对象算是一个深拷贝,但其实第二层的dependItemList对象还是一个浅拷贝,和上一个依赖节点地址指针指向同一个堆地址,所以直接选了lodash的cloneDeep 深拷贝了对象。 因为该组件是通用组件,所以我试了其他的任务组件中用到改添加属性的测试了一下 ,不会有影响,测试了http,sql,spark等 -- 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]
