From 09707250cdd118c6ffa7b032d61c72e2124bd084 Mon Sep 17 00:00:00 2001 From: Zzm0809 <934230207@qq.com> Date: Mon, 8 Apr 2024 16:27:32 +0800 Subject: [PATCH] [Optimization][web] Modify task optimization to prevent template modification (#3360) Signed-off-by: Zzm0809 <934230207@qq.com> Co-authored-by: Zzm0809 --- .../pages/DataStudio/LeftContainer/Project/JobModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dinky-web/src/pages/DataStudio/LeftContainer/Project/JobModal/index.tsx b/dinky-web/src/pages/DataStudio/LeftContainer/Project/JobModal/index.tsx index c5206bc61b..d33890f10c 100644 --- a/dinky-web/src/pages/DataStudio/LeftContainer/Project/JobModal/index.tsx +++ b/dinky-web/src/pages/DataStudio/LeftContainer/Project/JobModal/index.tsx @@ -220,7 +220,7 @@ const JobModal: React.FC = (props) => { /> {/*不支持UDF模板*/} - {!isUDF(jobType) && ( + {!isUDF(jobType) && !values.id && ( {({ type }) => setSqlTemplate(v)} />}