🚨fix: handleCurrentPlanUrl 주석
This commit is contained in:
parent
97bdc1f813
commit
9754fb6049
@ -298,7 +298,9 @@ export function usePlan(params = {}) {
|
|||||||
const currentPlan = plans.find((plan) => plan.isCurrent)
|
const currentPlan = plans.find((plan) => plan.isCurrent)
|
||||||
// if (currentPlan) router.push(`${pathname}?pid=${currentPlan?.planNo}&objectNo=${floorPlanState?.objectNo}`)
|
// if (currentPlan) router.push(`${pathname}?pid=${currentPlan?.planNo}&objectNo=${floorPlanState?.objectNo}`)
|
||||||
if (currentPlan !== currentCanvasPlan) {
|
if (currentPlan !== currentCanvasPlan) {
|
||||||
router.push(`${pathname}?pid=${currentPlan?.planNo}&objectNo=${currentPlan.objectNo}`)
|
// todo: [유상욱] 현재 플랜과 현재 캔버스 플랜이 다른 경우 플랜 이동
|
||||||
|
// 우선 주석처리
|
||||||
|
// router.push(`${pathname}?pid=${currentPlan?.planNo}&objectNo=${currentPlan.objectNo}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user