iView显示序号

iView简介

官网:http://v1.iviewui.com/
文档:https://www.iviewui.com/docs/introduce

iView组件显示序号

columns: [
                    {
    
    
                      title: '序号',
                      key: '',
                      width: 100,
                      render: (h,params) => {
    
    
                        return h('span',params.index+1)
                      }
                    }
          ]

猜你喜欢

转载自blog.csdn.net/u010312671/article/details/106568008