@@ -26,7 +26,7 @@ const { loading: submitting, send: submit } = useRequest(editUserMethod, { immed
});
const formProps = reactive<VxeFormProps<FormModel>>({
- titleWidth: 100,
+ titleWidth: 120,
titleAlign: 'right',
titleColon: true,
titleAsterisk: true,
@@ -13,7 +13,7 @@ VxeUI.validators.add('ValidPassword', {
if ( !rule.required ) return;
if ( !itemValue ) return new Error(`请输入密码`);
if ( !(
- itemValue.length > 8 &&
+ itemValue.length >= 8 &&
/\d/.test(itemValue) &&
/[a-zA-Z]/.test(itemValue)
) ) {