Merge branch 'hotfix/2.14.2.2405.02' into release/2.14.2.2405.02

This commit is contained in:
黎永顺 2024-05-28 11:42:42 +08:00
commit 53b6058b7e
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ export default class MobilePayroll extends React.Component {
async componentWillMount() { async componentWillMount() {
const type = getQueryString("type"); const type = getQueryString("type");
this.id = getQueryString("id"); this.id = getQueryString("id");
const { mySalaryStore: { init } } = this.props; const { mySalaryStore: { init, setMySalaryBill } } = this.props;
setMySalaryBill({});
if (type !== "phone") { if (type !== "phone") {
const { data, status } = await payrollCheckType(); const { data, status } = await payrollCheckType();
if (status && data === "PWD") { if (status && data === "PWD") {