[Vue warn]: Invalid prop: type check failed for prop “index”. Expected String with value “1”, got Number with value 1.

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: