刘洋 il y a 1 an
Parent
commit
259bf18dc9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/components/shared/UpdateUserPwd.vue

+ 1 - 1
src/components/shared/UpdateUserPwd.vue

@@ -68,7 +68,7 @@ const rules: EpFormRules = {
 
 const items: EpFormItem[] = [
   { label: '姓名', prop: 'name', slotType: 'input', slot: { disabled: true } },
-  { label: '单位', prop: 'employer', slotType: 'input' },
+  { label: '单位', prop: 'employer', slotType: 'input', slot: { maxlength: 100 } },
   { label: '新密码', prop: 'password', slotType: 'input', slot: { type: 'password' } },
   { label: '确认密码', prop: 'rePassword', slotType: 'input', slot: { type: 'password' } },
   { slotName: 'confirm' },