Commit aaa7fdc67eaa5187f3b453e9324fc241dcb453b7
1 parent
9b526b0e
fix: DEFECT-976 data component create panel limit panel name && panel description
Showing
1 changed file
with
2 additions
and
0 deletions
... | ... | @@ -76,6 +76,7 @@ export const basicSchema: FormSchema[] = [ |
76 | 76 | // rules: [{ required: true, message: '组件名称为必填项' }], |
77 | 77 | componentProps: { |
78 | 78 | placeholder: '请输入组件名称', |
79 | + maxLength: 32, | |
79 | 80 | }, |
80 | 81 | }, |
81 | 82 | { |
... | ... | @@ -85,6 +86,7 @@ export const basicSchema: FormSchema[] = [ |
85 | 86 | // rules: [{ required: true, message: '组件备注为必填项' }], |
86 | 87 | componentProps: { |
87 | 88 | placeholder: '请输入组件备注', |
89 | + maxLength: 255, | |
88 | 90 | }, |
89 | 91 | }, |
90 | 92 | ]; | ... | ... |