export let dataForm = {
	username: "",
	password: "",
	capt_id: "",
	captcha: ""
}

export let otherDataForm = {

}

// 注册
export let personalDataForm = {
	mobile: "",
	password: "",
	capt_id: "",
	captcha: ""
}

export let companyDataForm = {
	password: "",
	comform_password: "",
	email: "",
	full_name: "",
	contact_name: "",
	contact_phone: "",
	contact_mobile: "",
	capt_id: "",
	captcha: ""
}

// 短信验证码
export let smsDataForm = {
	mobile: "",
	captcha: "",
	capt_id: ""
}

export let smsLoginDataForm = {
	mobile: "",
	sms_code: "",
}



export const reset = () => {
	dataForm = {
		username: "",
		password: "",
		capt_id: "",
		captcha: ""
	}
	otherDataForm = {

	}

	personalDataForm = {
		mobile: "",
		password: "",
		capt_id: "",
		captcha: ""
	};
	
	companyDataForm = {
		password: "",
		comform_password: "",
		email: "",
		full_name: "",
		contact_name: "",
		contact_phone: "",
		contact_mobile: "",
		capt_id: "",
		captcha: ""
	}
	
	smsDataForm = {
		mobile: "",
		captcha: "",
		capt_id: ""
	};
	
	smsLoginDataForm = {
		mobile: "",
		sms_code: "",
	}

	return { dataForm, otherDataForm, personalDataForm, companyDataForm, smsDataForm,  smsLoginDataForm}
}