The index required in element is a string. I get the number type from the back end. Just convert it. The simplest thing is to splice an empty string
:index="item.ID+ '' "
Similar Posts:
- [Solved] Element-ui Error: [Vue warn]: Invalid prop: type check failed for prop “index”. Expected String with value “1”, got Number with value 1
- Vue3 vue.draggable slot jsx Error: Error: draggable element must have an item slot
- Invalid prop: type check failed for prop value
- [Solved] Elasticsearch Error: “java.lang.IllegalArgumentException: Rejecting mapping update to [xxx] as the final mapping would have more than 1 type: [_doc, log]””
- [Solved] Vue error: (Avoid using non-primitive value as key, use stringnumber value instead.)
- 6. Zigzag conversion
- An error is reported when traversing the list collection to delete elements
- Vue Error: type check failed for prop “xxx“. Expected String with value “xx“,got Number with value ‘xx‘
- The Usage of Numpy.unravel_index() function
- [Solved] Operator overload must take either zero or one argument error