Unverified Commit 4e5e635b authored by Zzm0809's avatar Zzm0809 Committed by GitHub

[Optimization] Optimization udf manage tips (#3295)

parent 7298cb9a
......@@ -175,7 +175,6 @@ const UDFRegister: React.FC<UDFRegisterProps> = (props) => {
<ProTable
rowKey={'id'}
columns={columns}
headerTitle={false}
search={false}
options={false}
dataSource={groupData[expandedRow.fileName]}
......
......@@ -23,6 +23,7 @@ import UDFRegister from '@/pages/RegCenter/UDF/components/UDFRegister';
import TemplateTable from '@/pages/RegCenter/UDF/components/UDFTemplate/TemplateTable';
import { l } from '@/utils/intl';
import { PageContainer } from '@ant-design/pro-components';
import { Alert } from 'antd';
import * as React from 'react';
export default () => {
......@@ -52,7 +53,19 @@ export default () => {
{
tab: l('rc.udf.register.management'),
key: 'udf-register',
children: <UDFRegister showEditChange={setShowEdit} showEdit={showEdit} />
children: (
<>
{/* TODO: 等待UDF和数据开发联动功能开发完成之后,删除该提示语*/}
<Alert
message={
'该功能目前没有和数据开发进行联动,目前仅为展示该 jar 中的相关 UDF,如你在数据开发中使用 UDF 时,你仍然需要按照 Flink 中的创建 UDF 的方式'
}
type='info'
showIcon
/>
<UDFRegister showEditChange={setShowEdit} showEdit={showEdit} />
</>
)
},
{
tab: l('rc.udf.template.management'),
......
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