[Vuejs]-How to redirect when the focus in input is false in Vuejs

0👍

In @blur="focused = false", you can actually do @blur="goBack", where goBack is a local method which changes the route according to what you want.

If you’re using vue router, something like this.$router.go(-1) works.

Leave a comment