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