mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
Small fix
This commit is contained in:
@ -46,7 +46,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<base-button type="submit" color="theme">{{ $t('login.login') }}</base-button>
|
<base-button :loading="isLoading" type="submit" color="theme">{{ $t('login.login') }}</base-button>
|
||||||
|
|
||||||
<!-- <div class="social-links">
|
<!-- <div class="social-links">
|
||||||
|
|
||||||
@ -87,7 +87,8 @@ export default {
|
|||||||
password: '',
|
password: '',
|
||||||
remember: ''
|
remember: ''
|
||||||
},
|
},
|
||||||
submitted: false
|
submitted: false,
|
||||||
|
isLoading: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
validations: {
|
validations: {
|
||||||
@ -98,7 +99,7 @@ export default {
|
|||||||
},
|
},
|
||||||
password: {
|
password: {
|
||||||
required,
|
required,
|
||||||
minLength: minLength(5)
|
minLength: minLength(8)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -113,7 +114,6 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.isLoading = true
|
this.isLoading = true
|
||||||
|
|
||||||
this.login(this.loginData).then((res) => {
|
this.login(this.loginData).then((res) => {
|
||||||
this.$router.push('/admin/dashboard')
|
this.$router.push('/admin/dashboard')
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
|
|||||||
Reference in New Issue
Block a user