فهرست منبع

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

wyf 6 ماه پیش
والد
کامیت
9876961ad1
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      src/views/security-confidentiality/access-control/configs/form.ts

+ 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,
     },
   },
   {