[1165] 도면을 열고 있을 때, 상부 메뉴를 눌렀을 때의 거동 재수정

This commit is contained in:
ysCha 2025-07-07 11:07:31 +09:00
parent 3ab5aec767
commit 1750ba53fd

View File

@ -241,7 +241,7 @@ export default function Header(props) {
e.preventDefault() //
e.stopPropagation() //
swalFire({
text : getMessage(common.link.confirm), //
text : getMessage('common.link.confirm'), //
type : 'confirm',
confirmFn: () => {
//
@ -323,14 +323,28 @@ export default function Header(props) {
<h1 className="logo">
<Link
href={'/'}
onClick={() => {
onClick={(e) => {
setStuffSearch({
...stuffSearch,
code: 'DELETE',
})
if (pathName === '/') {
window.location.reload()
} else if(pathName === '/floor-plan') {
e.preventDefault() //
e.stopPropagation() //
swalFire({
text: getMessage('common.link.confirm'), //
type: 'confirm',
confirmFn: () => {
//
//removeStuffRecoil(m)
router.push('/')
}
})
}
}}
></Link>
</h1>