import Vue from 'vue';
export default {
name: 'auth_register',
metaInfo: {
title: 'Регистрация'
},
data() {
return {
loading: false, // Кнопка загрузки
loader: null, // Кнопка загрузки
register: {}, // Данные регистрации
}
},
methods: {
submitRegister() {
this.loading = true
Vue.axios.post('auth/register', this.register)
.then((response) => {
console.log(response.data)
this.loading = false
})
.catch((error) => {
console.log(error)
this.loading = false
})
}
}
}
main.addNewUser()
var documentTask = BrowsingContext.New(config).OpenAsync(address);
Task.Wait(documentTask);
var document = documentTask.Result
var parser = new HtmlParser();
var document = parser.Parse(new WebClient().DownloadString(address));