$index+1 in Knockout foreach binding

前端 未结 2 1755
星月不相逢
星月不相逢 2021-01-31 14:28

I need to display $index+1 in a table.

If I just use the $index all the elements will start from 0, I need to start at 1.

Here\'s the

2条回答
提交回复
热议问题