fix: 节点名称限制长度

This commit is contained in:
xuziqiang
2024-07-26 13:44:40 +08:00
parent ad9a43a7c6
commit 6202151242

View File

@@ -103,7 +103,8 @@ export const formSchema = [
field: 'pointName', field: 'pointName',
component: 'NsInput', component: 'NsInput',
componentProps: { componentProps: {
placeholder: '请输入节点名称(必填)', placeholder: '请输入',
maxLength: 32,
}, },
rules: [ rules: [
{ {
@@ -117,7 +118,7 @@ export const formSchema = [
field: 'pointType', field: 'pointType',
component: 'NsSelectApi', component: 'NsSelectApi',
componentProps: { componentProps: {
placeholder: '请选择节点类型(必填)', placeholder: '请选择',
api: () => dict({ params: { dicKey: 'COUNT_POINT' } }), api: () => dict({ params: { dicKey: 'COUNT_POINT' } }),
// params: { dicKey: 'COUNT_POINT' }, // params: { dicKey: 'COUNT_POINT' },
immediate: true, immediate: true,