|
@@ -119,10 +119,7 @@ function onSectionRecordCancel(sectionId: number) {
|
|
|
|
|
|
|
|
function serialNumber(index: number) {
|
|
function serialNumber(index: number) {
|
|
|
index += 1;
|
|
index += 1;
|
|
|
- if (pagination.page == 1) {
|
|
|
|
|
- return index;
|
|
|
|
|
- }
|
|
|
|
|
- return pagination.page * pagination.size + index;
|
|
|
|
|
|
|
+ return (pagination.page - 1) * pagination.size + index;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const onClose = () => {
|
|
const onClose = () => {
|