0๐
perFold.push(fold[fold[i].overview.bestAttr])
fold is a array. Because of that you need to specify loop index.
- [Vuejs]-Vue3 array value problem between components
- [Vuejs]-VueJs โ Set property in child component's $options based on prop
Source:stackexchange.com