Commit 79ad4f43eb78cbc8e0b79ad75e37dc0727e30b62
Merge branch 'ww' into 'main'
fix: DEFECT-976 data component create panel limit panel name && panel description See merge request huang/yun-teng-iot-front!430
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 | ]; | ... | ... |