The order of ref is inconsistent with that in DOM
Version
3.2.33
Reproduction link
Steps to reproduce
click button sub
, console log 5-6-4
What is expected?
4-5-6
What is actually happening?
5-6-4
That's expected. In order to efficiently update v-for's, we can't guarantee order here.
If you need DOM order, you could order it yourself with compareDocumentPosition