dev #196
@ -1556,7 +1556,7 @@ export const useTrestle = () => {
|
||||
//랙 없음 인 경우 지지금구 설치
|
||||
const installBracketWithOutRack = (surface, exposedBottomModules, leftExposedHalfBottomModules, rightExposedHalfBottomPoints, isChidory) => {
|
||||
let { rackQty, rackIntvlPct, moduleIntvlHor, moduleIntvlVer, lessSupFitQty, lessSupFitIntvlPct, moduleMaxRows } = surface.trestleDetail
|
||||
const checkList = []
|
||||
let checkList = []
|
||||
|
||||
exposedBottomModules.forEach((module) => {
|
||||
checkList.push(module.leftRows, module.rightRows, module.centerRows)
|
||||
@ -1569,6 +1569,9 @@ export const useTrestle = () => {
|
||||
rightExposedHalfBottomPoints.forEach((module) => {
|
||||
checkList.push(module.leftRows, module.rightRows, module.centerRows)
|
||||
})
|
||||
|
||||
checkList = checkList.filter((item) => item !== undefined && item !== null)
|
||||
|
||||
const isAllCheckMaxRows = checkList.every((item) => item <= moduleMaxRows)
|
||||
|
||||
if (!isAllCheckMaxRows) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user