修改表格序号以及分页序号数字问题
This commit is contained in:
@@ -76,7 +76,9 @@ const effectTableStore = new TableStore({
|
||||
// publicHeight: 65,
|
||||
method: 'POST',
|
||||
column: [
|
||||
{ title: '序号', type: 'seq', width: 80 },
|
||||
{ title: '序号', width: 80,formatter: (row: any) => {
|
||||
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
|
||||
} },
|
||||
{
|
||||
field: 'problemDesc',
|
||||
title: '问题描述',
|
||||
|
||||
Reference in New Issue
Block a user