[Vuejs]-Vs-select from vuesax not working and duplicate root node in vuejs

0👍

Because pessoa.sexo isn’t a valid object key, the dot is not allowed, if you type in your console

var a = {name:"tom",user.friends:3}

you’ll get

Uncaught SyntaxError: Unexpected token .

now..you can change this to just pessoa or use a nested object and you can access to it as pessoa.sexo

pessoa : {sexo : "M"}

I hope I helped you..

Leave a comment