|
|
@@ -9,8 +9,8 @@
|
|
|
}
|
|
|
] as ClFormRule[]
|
|
|
">
|
|
|
- <cl-input clearable class="" :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }" v-model="form.username"
|
|
|
- placeholder="请输入用户名"></cl-input>
|
|
|
+ <cl-input clearable class="" :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }"
|
|
|
+ v-model="form.username" placeholder="请输入用户名"></cl-input>
|
|
|
</cl-form-item>
|
|
|
<cl-form-item prop="password" required :pt="{
|
|
|
className: '!mb-4'
|
|
|
@@ -20,13 +20,13 @@
|
|
|
message: '密码不能为空'
|
|
|
}, {
|
|
|
min: 6,
|
|
|
- max: 12,
|
|
|
+ max: 16,
|
|
|
message: '密码长度必须在6到16位之间'
|
|
|
}
|
|
|
] as ClFormRule[]
|
|
|
">
|
|
|
- <cl-input :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }" clearable v-model="form.password" password
|
|
|
- placeholder="请输入密码">
|
|
|
+ <cl-input :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }" clearable v-model="form.password"
|
|
|
+ password placeholder="请输入密码">
|
|
|
</cl-input>
|
|
|
</cl-form-item>
|
|
|
|