|
@@ -62,8 +62,8 @@
|
|
|
</Minheader>
|
|
|
<el-row :gutter="24">
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="密码长度" prop="pwd_cons" label-width="100px">
|
|
|
- <el-input v-model="formData.pwd_cons" placeholder="请输入密码长度" clearable />
|
|
|
+ <el-form-item label="密码最大长度" prop="pwd_cons" label-width="100px">
|
|
|
+ <el-input v-model="formData.pwd_cons" placeholder="请输入密码最大长度" clearable />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -134,9 +134,9 @@ const verificationCodeEnable = computed(() =>
|
|
|
);
|
|
|
const validatePass = (rule: any, value: any, callback: any) => {
|
|
|
if (!value || Number(value) < 6) {
|
|
|
- callback(new Error("密码长度不能小于6"));
|
|
|
+ callback(new Error("密码最大长度不能小于6"));
|
|
|
} else if (!value || Number(value) > 32) {
|
|
|
- callback(new Error("密码长度不能大于32"));
|
|
|
+ callback(new Error("密码最大长度不能大于32"));
|
|
|
} else {
|
|
|
callback();
|
|
|
}
|