Jekong-hao opened a new issue, #10943:
URL: https://github.com/apache/dolphinscheduler/issues/10943

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   在复制工作流详情页面copy task后,修改数组类型的参数,会导致被复制的任务相应参数也被修改
   
   ### What you expected to happen
   
   前端页面浅拷贝的问题
   
   ### How to reproduce
   
   在复制工作流详情页面copy task后,修改数组类型的参数,会导致被复制的任务相应参数也被修改,如下图
   1. 新建一个task,定义一个前置sql
   
![image](https://user-images.githubusercontent.com/56187785/178704700-c7db7386-8af1-49b0-b872-fda3b6dfaa61.png)
   2.复制task,改变前置SQL
   
![image](https://user-images.githubusercontent.com/56187785/178705056-961621ef-f8ff-4ae8-a4b7-681da4c2efd7.png)
   3.查看被复制的task,发现前置sql也发生了改变
   
![image](https://user-images.githubusercontent.com/56187785/178705302-8817b9f3-10db-4804-8d4c-cda336c9f298.png)
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.6
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to