|
@@ -46,7 +46,7 @@ const menus = [
|
|
const handlerMenuClick: MenuProps['onClick'] = async e => {
|
|
const handlerMenuClick: MenuProps['onClick'] = async e => {
|
|
if (e.key === 'logout') {
|
|
if (e.key === 'logout') {
|
|
await postLogout()
|
|
await postLogout()
|
|
- location.replace(mainURL)
|
|
|
|
|
|
+ location.replace(`${mainURL}/`)
|
|
} else {
|
|
} else {
|
|
location.href = `${mainURL}/#/information`
|
|
location.href = `${mainURL}/#/information`
|
|
}
|
|
}
|