하수재이용 통계 매뉴 이동 수정
This commit is contained in:
@@ -15,7 +15,15 @@ export default function Base({
|
||||
|
||||
const changeMenu = (path: MenuItem) => {
|
||||
getMenuAuthrts(path.menuCd);
|
||||
router.push(path.urlPath);
|
||||
if (path.menuKornNm === "하수재이용통계") {
|
||||
// console.log("외부 페이지로 이동합니다. " ,path);
|
||||
// const popupOptions = `width=${window.screen.availWidth},height=${window.screen.availHeight},left=0,top=0,resizable=yes,scrollbars=yes`;
|
||||
// path.newWndwYn ='N'
|
||||
// window.open(path.urlPath, "candidatePopup", popupOptions);
|
||||
return null;
|
||||
} else {
|
||||
router.push(path.urlPath);
|
||||
}
|
||||
};
|
||||
return (
|
||||
<BaseLayout currentPath={pathname ?? ""} handleMenuClick={changeMenu}>
|
||||
|
||||
Reference in New Issue
Block a user