Element UI el-table-column 递增ID

Element UI el-table-column  递增ID

data () {
    return {
        currentPage: 1,
        intPageSize: 10
    }
}
methods: {
    indexMethod(index) {
        return (this.currentPage - 1) * this.intPageSize + index + 1 
    }
}

 

你可能感兴趣的:(Element,UI)