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
Now we encounter this situation:
If I want to show this form, 0,1,2,3 should be replaced by ABCD, but the index reads 0,1,2,3. What is the answer? How to solve this situation
You can save the corresponding relationship, as shown below:
The data is converted before rendering
//转换数据 let option=['A','B','C','D'] // 原始数据 let data=[ '看见厚大司考', '大叔大婶大所多', '大叔大婶大所大所多', '大叔大婶大所大多' ] let newDatadata.map((item,index)=>{ return option[index]+''+item }) console.log(newData)
You can save the corresponding relationship, as shown below:
The data is converted before rendering