Skip to content

Commit

Permalink
[Optimization][web] Modify task optimization to prevent template modi…
Browse files Browse the repository at this point in the history
…fication (#3360)

Signed-off-by: Zzm0809 <[email protected]>
Co-authored-by: Zzm0809 <[email protected]>
  • Loading branch information
Zzm0809 and Zzm0809 authored Apr 8, 2024
1 parent 7b7c2be commit 0970725
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ const JobModal: React.FC<JobModalProps> = (props) => {
/>

{/*不支持UDF模板*/}
{!isUDF(jobType) && (
{!isUDF(jobType) && !values.id && (
<ProFormDependency name={['type']}>
{({ type }) => <TemplateSelect type={type} onChange={(v) => setSqlTemplate(v)} />}
</ProFormDependency>
Expand Down

0 comments on commit 0970725

Please sign in to comment.