未验证 提交 1455eb48 编写于 作者: K Kuizuo 提交者: GitHub

fix: rules validator tips (#2000)

上级 ba97f80d
......@@ -32,7 +32,7 @@ export const formSchema: FormSchema[] = [
required: true,
validator: (_, value) => {
if (!value) {
return Promise.reject('不能为空');
return Promise.reject('密码不能为空');
}
if (value !== values.passwordNew) {
return Promise.reject('两次输入的密码不一致!');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册