无分页 从1开始 & 有分页从1开始
currentPage为当前页, pagesize为每页条数
<template slot-scope="scope">
// 不分页
{{ scope.$index }}
//分页
{{ scope.$index + (currentPage-1)*pagesize +1 }}
</template>
无分页 从1开始 & 有分页从1开始
currentPage为当前页, pagesize为每页条数
<template slot-scope="scope">
// 不分页
{{ scope.$index }}
//分页
{{ scope.$index + (currentPage-1)*pagesize +1 }}
</template>