diff --git a/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js b/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js index e0c3c2bf..e87e1eed 100644 --- a/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js +++ b/pc4mobx/hrmSalary/pages/reportView/components/reportContent.js @@ -86,7 +86,7 @@ class ReportContent extends Component { this.setState({ loading: true }); reportStatisticsReportGetData(payload).then(({ status, data }) => { this.setState({ loading: false }); - if (status && id === data.reportId) { + if (status && id.toString() === data.reportId.toString()) { const { countResult, columns, pageInfo: { list } } = data; this.setState({ countResult,