[Vue warn]: Invalid prop: type check failed for prop “index“. Expected String, got Undefined

[vue warn]: invalid prop: type check failed for prop “index”. Expected string, got undefined

there will be such an error when writing the backend. We just need to do the following

Solution:

Index is not converted to string type, so + ” is OK

Read More: