export const form =  {
	username: "",
	password: "",
	tel: "",
	code:""
}
export const registerForm =  {
	tel: "",
	code: "",
	password: '',
	confirmPsw:''
}
export const registerRules =  {
	tel: [
		{
			required: true,
			message: "请输入手机号",
			trigger: "blur",
		},
		{
			min: 11,
			max: 11,
			message: "手机号长度必须为 11 位",
			trigger: "blur",
		},
	],
	code: [
		{
			required: true,
			message: "请输入验证码",
			trigger: "blur",
		},
	],
	password: [
		{
			required: true,
			message: "请输入密码",
			trigger: "blur",
		},
	],
	confirmPsw: [
		{
			required: true,
			message: "请确认密码",
			trigger: "blur",
		},
	]
}