bug修改-断点

This commit is contained in:
黎永顺 2023-08-11 17:34:42 +08:00
parent 262976cc5e
commit 5adfa47b5b
2 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@ class MySalaryView extends Component {
const employeeInformation = !_.isEmpty(mySalaryStore) && mySalaryStore.employeeInformation;
const salaryGroups = !_.isEmpty(mySalaryStore) && mySalaryStore.salaryGroups;
const salaryTemplateShowSet = !_.isEmpty(mySalaryStore) && mySalaryStore.salaryTemplate;
console.log(90, salaryTemplateShowSet, salaryGroups);
return (
<React.Fragment>
<Authority ecId={`${this && this.props && this.props.ecId || ""}_Authority@lulowc`}

View File

@ -32,6 +32,7 @@ export default class ComputerTemplate extends React.Component {
componentDidMount() {
if (this.props.isMsgPreview && this.props.salaryItemSet) {
console.log(35, this.props);
this.setState({
salaryItemSet: JSON.parse(this.props.salaryItemSet),
salaryTemplateShowSet: JSON.parse(this.props.salaryTemplateShowSet)