84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
I traversed like this:
But the browser gave this error:
It says that [index] cannot be found, which is the array index. Why is this?
ringa_lee
The span tag should be written inside the li tag
The variable of v-for can only be used on the child elements of this tag
Have you read the documentation for vue class bindinghttps://cn.vuejs.org/v2/guide...
Don’t use seller.supports[index].type in the loop. Just use item.type directly.
The span tag should be written inside the li tag
The variable of v-for can only be used on the child elements of this tag
Have you read the documentation for vue class binding
https://cn.vuejs.org/v2/guide...
Don’t use seller.supports[index].type in the loop. Just use item.type directly.