Unverified Commit 09707250 authored by Zzm0809's avatar Zzm0809 Committed by GitHub

[Optimization][web] Modify task optimization to prevent template modification (#3360)

parent 7b7c2bec
...@@ -220,7 +220,7 @@ const JobModal: React.FC<JobModalProps> = (props) => { ...@@ -220,7 +220,7 @@ const JobModal: React.FC<JobModalProps> = (props) => {
/> />
{/*不支持UDF模板*/} {/*不支持UDF模板*/}
{!isUDF(jobType) && ( {!isUDF(jobType) && !values.id && (
<ProFormDependency name={['type']}> <ProFormDependency name={['type']}>
{({ type }) => <TemplateSelect type={type} onChange={(v) => setSqlTemplate(v)} />} {({ type }) => <TemplateSelect type={type} onChange={(v) => setSqlTemplate(v)} />}
</ProFormDependency> </ProFormDependency>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment