.
This commit is contained in:
@@ -121,6 +121,8 @@ export const SubLayout = () => {
|
||||
|
||||
setLoginSuccess(true);
|
||||
setHeaderNavigationKey(headerNavigationKey + 1);
|
||||
}).catch((e: any) => {
|
||||
console.error(e);
|
||||
});
|
||||
};
|
||||
|
||||
@@ -131,9 +133,10 @@ export const SubLayout = () => {
|
||||
};
|
||||
businessProperty(params).then((rs: BusinessPropertyResponse) => {
|
||||
useStore.getState().UserStore.setBusinessInfo(rs);
|
||||
}).catch((e: any) => {
|
||||
console.error(e);
|
||||
});
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
const callSortcutDefault = () => {
|
||||
@@ -150,6 +153,8 @@ export const SubLayout = () => {
|
||||
}));
|
||||
|
||||
useStore.getState().UserStore.setUserFavorite(modifiedShortcuts);
|
||||
}).catch((e: any) => {
|
||||
console.error(e);
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -199,6 +204,8 @@ export const SubLayout = () => {
|
||||
callSortcutDefault();
|
||||
}
|
||||
}
|
||||
}).catch((e: any) => {
|
||||
console.error(e);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -226,6 +233,8 @@ export const SubLayout = () => {
|
||||
if(!!emails[0]){
|
||||
useStore.getState().UserStore.setEmail(emails[0]);
|
||||
}
|
||||
}).catch((e: any) => {
|
||||
console.error(e);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -282,6 +291,8 @@ export const SubLayout = () => {
|
||||
code1Filter: code1Filter
|
||||
});
|
||||
}
|
||||
}).catch((e: any) => {
|
||||
console.error(e);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user