Commit 1455eb48db6acdbcbbe9595720a7a37fd23ab63a

Authored by Kuizuo
Committed by GitHub
1 parent ba97f80d

fix: rules validator tips (#2000)

src/views/demo/system/password/pwd.data.ts
@@ -32,7 +32,7 @@ export const formSchema: FormSchema[] = [ @@ -32,7 +32,7 @@ export const formSchema: FormSchema[] = [
32 required: true, 32 required: true,
33 validator: (_, value) => { 33 validator: (_, value) => {
34 if (!value) { 34 if (!value) {
35 - return Promise.reject('不能为空'); 35 + return Promise.reject('密码不能为空');
36 } 36 }
37 if (value !== values.passwordNew) { 37 if (value !== values.passwordNew) {
38 return Promise.reject('两次输入的密码不一致!'); 38 return Promise.reject('两次输入的密码不一致!');