methods: {
clear () {
this.$refs.login.reset()
},
logIn: function () {
Axios.post('http://192.168.1.116:8000', {
login: this.name,
password: this.password
})
.then(()=>{
console.log('qqwe')
this.$router.replace(this.$route.query.redirect || '/tamam')
})
.catch(function (err) {
console.log('q')
})
},
}