Browse Source

fix: rules validator tips (#2000)

Kuizuo 2 years ago
parent
commit
1455eb48db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/demo/system/password/pwd.data.ts

+ 1 - 1
src/views/demo/system/password/pwd.data.ts

@@ -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('两次输入的密码不一致!');