[Vuejs]-How can I initialize an input field with the value of a URL query parameter?

0👍

Because it can’t find name:'Test'. If your route like this http://localhost/#/Test?testInput=aaaa is should work, or you can use it without route name

router.push({ query: { testInput: testInput.value }, replace: true });

Leave a comment