if (!pattern.test(this.email)) {
                    this.$message.error('邮箱格式错误，请重新填写')
                    return;
                }
                $(".page-loader").fadeIn()
                let _$ = $
                this.$http.post(
                    '/register',
                    JSON.stringify({username: this.username, password: this.password, email: this.email})
                ).then(res => {
                    if (res.body.code == 200) {
                        _$(".pa