after learning the code of the swipe component of mint-ui, you see the following code snippet:
as mentioned earlier in the vue.js document, accessing child components through $children
does not guarantee order. But the code here in the swipe component seems to rely directly on the order in which the child components are traversed by $children
. I feel a little confused here.
I hope some students who are familiar with vue.js or mint-ui can help explain it. I appreciate it!