验证用户名密码是否符合规范
// 密码的正则表达式:/[\d\w_]{6,30}/ 含义:数字,字母,下划线,6-30个字符
var passwordFormat = /^[\d\w_]{6,30}$/;
if (
passwordFormat.test(this.formData.password.toString()) == false ||
passwordFormat.test(this.formData.passwordEnsure.toString()) == false
) {
this.errorPasswordWrongFormat();