Every time I attempt to set up a router-link
with an array as the parameter, the link functions properly but triggers the following warning :
"Missing param for named route "start-run": Expected "files" to not repeat, but received
["aaa"]
router.js
...
{
path: '/start-run/:config?/:files?',
name: 'start-run',
component: StartRun,
props: true
},
...
file.vue
...
<router-link :to="{name: 'start-run', params: { config: 'test', files: ['aaa'] }}">...</router-link>
...
I have been unable to locate any documentation that addresses how to resolve this warning.