Commit d441772d2e1b8a287f513ae8e52683aa71b20c83

Authored by fengwotao
1 parent 9d033bb1

fix: 优化设备列表别名/设备名称过长显示,和鼠标移入显示

... ... @@ -65,7 +65,7 @@ export const step1Schemas: FormSchema[] = [
65 65 label: '别名 ',
66 66 component: 'Input',
67 67 componentProps: {
68   - maxLength: 255,
  68 + maxLength: 32,
69 69 placeholder: '请输入别名',
70 70 },
71 71 },
... ... @@ -73,6 +73,10 @@ export const step1Schemas: FormSchema[] = [
73 73 field: 'name',
74 74 label: '设备名称',
75 75 component: 'Input',
  76 + componentProps: {
  77 + maxLength: 32,
  78 + placeholder: '请输入别名',
  79 + },
76 80 rules: [{ required: true, message: '设备名称为必填项' }],
77 81 slot: 'snCode',
78 82 },
... ...