Guest User

Untitled

a guest
Feb 25th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. rejectForm() {
  2. this.informationMessageRequired = true;
  3. this.$nextTick(async () => {
  4. try {
  5. const valid = await this.$validator.validateAll();
  6. if (valid) {
  7. if (!this.errors.any()) {
  8. console.log('dispatch');
  9. }
  10. } else {
  11. console.log('error');
  12. }
  13. } catch (e) {
  14. console.log(e);
  15. }
  16. });
  17. },
Add Comment
Please, Sign In to add comment