code
The item of the v-for loop and the data type received by the knowledge.vue component are both KnowLedgeRes, why is the type check considered inconsistent?
The assignment to knowledgeList is of the correct type.
I tried vite to create a new vue3 project, and then perform similar operations. I found that there is no error, so what may be the cause of the error here?
New contributor
BraisedAlice is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.