Created
August 9, 2018 07:39
-
-
Save acidjazz/95c5b7728a759fbd09fdfe61f84ccd8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
methods: { | |
query (params) { | |
let i = 0 | |
for (let key in params) { | |
setTimeout(() => { | |
this.$router.push({ query: {...this.$route.query, [key]: params[key] }}) | |
} , 100*++i) | |
} | |
setTimeout(() => this.get(), 100*++i) | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment