|
@ -124,10 +124,12 @@ export default { |
|
|
}, |
|
|
}, |
|
|
rules: { |
|
|
rules: { |
|
|
username: [ |
|
|
username: [ |
|
|
{ required: true, message: "请输入用户名", trigger: "blur" } |
|
|
|
|
|
|
|
|
{ required: true, message: "请输入用户名", trigger: "blur" }, |
|
|
|
|
|
{ min: 6, message: "最低6位字符", trigger: "blur"} |
|
|
], |
|
|
], |
|
|
password: [ |
|
|
password: [ |
|
|
{ required: true, message: "请输入用户密码", trigger: "blur" } |
|
|
|
|
|
|
|
|
{ required: true, message: "请输入用户密码", trigger: "blur" }, |
|
|
|
|
|
{ min: 6, message: "最低6位字符", trigger: "blur"} |
|
|
], |
|
|
], |
|
|
nickName: [ |
|
|
nickName: [ |
|
|
{ required: true, message: "请输入用户昵称", trigger: "blur" } |
|
|
{ required: true, message: "请输入用户昵称", trigger: "blur" } |
|
|