|
|
|
@ -86,12 +86,14 @@ export default {
|
|
|
|
|
password: "",
|
|
|
|
|
confirmPassword: "",
|
|
|
|
|
code: "",
|
|
|
|
|
uuid: ""
|
|
|
|
|
uuid: "",
|
|
|
|
|
roleKey:""
|
|
|
|
|
},
|
|
|
|
|
registerRules: {
|
|
|
|
|
username: [
|
|
|
|
|
{ required: true, trigger: "blur", message: "请输入您的账号(保持和申报学校的名称一致)" },
|
|
|
|
|
{ min: 2, max: 20, message: '用户账号长度必须介于 2 和 20 之间', trigger: 'blur' }
|
|
|
|
|
{ min: 2, max: 20, message: '用户账号长度必须介于 2 和 20 之间', trigger: 'blur' },
|
|
|
|
|
{ pattern: /^[\u4e00-\u9fa5]+$/, message: "只能输入中文", trigger: "blur" }
|
|
|
|
|
],
|
|
|
|
|
password: [
|
|
|
|
|
{ required: true, trigger: "blur", message: "请输入您的密码" },
|
|
|
|
|