Merge branch 'hotfix/2.14.2.2405.02' into release/2.14.2.2405.02
This commit is contained in:
commit
53b6058b7e
|
|
@ -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") {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue