this.items = ret.map((v, i) => {
v.name = decodeURIComponent(v.name)
return {
no: i + 1,
...v
}
})
...和map组数据的实用方法
猜你喜欢
转载自blog.csdn.net/WDCCSDN/article/details/84795358
今日推荐
周排行