Przeglądaj źródła

Merge branch 'dev-wyf' into 'dev'

fix: 门禁添加事件表单修改

See merge request product-group-fe/sfy-safety-group/sfy-safety!222
ai0197 6 miesięcy temu
rodzic
commit
95edb63905

+ 4 - 0
src/views/security-confidentiality/access-control/configs/form.ts

@@ -9,6 +9,8 @@ export const ACCESS_FORM_CONFIG: FormConfig[] = [
       placeholder: '请输入事件的具体描述',
       type: 'textarea',
       rows: 5,
+      maxlength: 500,
+      showWordLimit: true,
     },
   },
   {
@@ -17,6 +19,8 @@ export const ACCESS_FORM_CONFIG: FormConfig[] = [
     component: 'ElInput',
     componentProps: {
       placeholder: '请输入事件发生地点',
+      maxlength: 200,
+      showWordLimit: true,
     },
   },
   {