刘洋 1 year ago
parent
commit
259bf18dc9
1 changed files with 1 additions and 1 deletions
  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' },