The vue parent component passes a nested array to the child component. There are values in the array in the child component, but accessing a [0] [0] is undefine..

the parent component gets the data from the interface and passes it to the child component through props, passing on a nested array similar to a [1mem2prime3]. Both the parent component and the child component can console.log (a) and a [0], but accessing a0 will be a undefine (not an error report). The parent component and the child component can both get the data from the interface and pass it to the child component through the interface, passing it to the child component through the interface and passing it to the child component through the interface. It just cannot be displayed after the front end refreshes the page)
subcomponents console:
console.log (this.RoadPerc)
console.log (this.RoadPerc [0])
console.log (this.RoadPerc0)

clipboard.png

because what I write at the front end is a few buttons click to switch to display the data in the array, refresh the page and click on the data

Mar.07,2022

try computed or watch

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39e92-41211.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39e92-41211.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?