Vue uses axios to receive the json array sent from the backend to assign values to the front-end array. Time error, type checking error.

error: vue.esm.js?efeb:591 [Vue warn]: Invalid prop: type check failed for prop "list". Expected, got Array.

this is the initialization of list



Mar.22,2022

it seems that when passing a value to a subcomponent, the receiving data type of the subcomponent is not set to an array

clipboard.png

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-1bf68e1-31ff4.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-1bf68e1-31ff4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?