parent로 수정
This commit is contained in:
parent
236ad5c20e
commit
f0cbceb64e
@ -710,7 +710,7 @@ export const useTrestle = () => {
|
|||||||
slope,
|
slope,
|
||||||
classType: currentAngleType === 'slope' ? '0' : '1',
|
classType: currentAngleType === 'slope' ? '0' : '1',
|
||||||
angle: getDegreeByChon(slope),
|
angle: getDegreeByChon(slope),
|
||||||
azimuth: getAzimuth(surface),
|
azimuth: getAzimuth(parent),
|
||||||
moduleList,
|
moduleList,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -726,8 +726,9 @@ export const useTrestle = () => {
|
|||||||
return { itemList, northArrangement, roofSurfaceList, circuitItemList }
|
return { itemList, northArrangement, roofSurfaceList, circuitItemList }
|
||||||
}
|
}
|
||||||
|
|
||||||
const getAzimuth = (surface) => {
|
const getAzimuth = (parent) => {
|
||||||
const { moduleCompass, surfaceCompass, direction } = surface
|
debugger
|
||||||
|
const { moduleCompass, surfaceCompass, direction } = parent
|
||||||
|
|
||||||
if (surfaceCompass) {
|
if (surfaceCompass) {
|
||||||
if (surfaceCompass > 180) {
|
if (surfaceCompass > 180) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user