What happen:
got error message:
> [Vue warn]: Duplicate keys detected: XXXXXXXXXXX. This may cause an update error
Why:
是因为同样的key用在了不同的for循环中
How to do:
更改报错处for循环的key值
What happen:
got error message:
> [Vue warn]: Duplicate keys detected: XXXXXXXXXXX. This may cause an update error
Why:
是因为同样的key用在了不同的for循环中
How to do:
更改报错处for循环的key值