修正了我的报销搜索

main
白封羽 2023-01-06 14:18:41 +08:00
parent e63fa0153d
commit 8d02ef7ecc
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ class Subpage extends React.Component<any, any> {
total: totalRecordLength, total: totalRecordLength,
}); });
}) })
if (response.data.reimbursementSubmitStaff.staffId !== store.getState().token.staffId) { if (response.data.reimbursementSubmitStaff.staffId === store.getState().token.staffId) {
tableListDataSource = await this.converter(response.data, pageSize) tableListDataSource = await this.converter(response.data, pageSize)
totalRecordLength = tableListDataSource.length totalRecordLength = tableListDataSource.length
} else { } else {