diff --git a/pc4mobx/hrmSalary/single.js b/pc4mobx/hrmSalary/single.js index 743d3ed2..51938f7b 100644 --- a/pc4mobx/hrmSalary/single.js +++ b/pc4mobx/hrmSalary/single.js @@ -37,8 +37,8 @@ class Root extends React.Component { let header = document.getElementById("container"); header.appendChild(link); top.$(".ant-message").remove(); - (window.location.hash.indexOf("mobilepayroll") === -1 || window.location.hash.indexOf("_lingyue") === -1) && allStore.taxAgentStore.getPermission(); - (window.location.hash.indexOf("mobilepayroll") !== -1 && window.location.hash.indexOf("_lingyue") !== -1) && allStore.taxAgentStore.initPageAndOptAuth(); + (window.location.hash.indexOf("mobilepayroll") === -1 && window.location.hash.indexOf("_lingyue") === -1) && allStore.taxAgentStore.getPermission(); + (window.location.hash.indexOf("mobilepayroll") !== -1 || window.location.hash.indexOf("_lingyue") !== -1) && allStore.taxAgentStore.initPageAndOptAuth(); if (window.location.hash.indexOf("payroll") !== -1) { window.localStorage.removeItem("template-basedata"); window.localStorage.removeItem("salary-showset");