Skip to content
Advertisement

Tag: object-reference

name of object within payload javascript

I have this payload. I’m trying to use Vue to set the values in the state using I realise one of my payload.val need to be the name of the value and not the name itself. How can I reference this correctly? My state looks like this: Edit: Spelling Answer As per the Vue documentation (Vue.set Documentation Link), first parameter

Advertisement