Duplicate keys detected: '0'. This may cause an update error.

When running vue project, there has been [Vue warn]: Duplicate keys detected: '0' This may cause an update error. (Error detected duplicate key values: "0", which could lead to an update error)

Here Insert Picture Description

If shown above, if the key, all bound index, then it will error, so we want to separate key area to ensure the uniqueness of the key.

Guess you like

Origin blog.csdn.net/qq_24147051/article/details/94443291