[Vue warn]: Duplicate keys detected: ‘‘. This may cause an update error.

An error occurs when using the for loop in Vue because of duplicate key values

Error 1: there are two for loops nested, and the same value is bound in the key

Error 2: there are duplicate keys in this array of the for loop


My question:

Solution: just comment out the last one

Read More: