custom/领悦业务线

This commit is contained in:
lys 2025-02-20 12:15:47 +08:00
parent 2414c95179
commit 9fd83c7b34
1 changed files with 2 additions and 2 deletions

View File

@ -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");