Compare commits

..

No commits in common. "76693640cfbc7bdc345b84d9e42d22bdee9a8bc4" and "defebb21d7de4637066acf6fe6b44fcfabc2907a" have entirely different histories.

2 changed files with 4 additions and 3 deletions

View File

@ -1049,7 +1049,9 @@ export const useTrestle = () => {
if (!rackInfos) {
const maxRows = surface.trestleDetail.moduleMaxRows
const maxCols = surface.trestleDetail.moduleMaxCols
const msg = `段数の上限は${maxRows}段です。 上限より上の段には設置できません`
const msg = `選択した家で設置可能
モジュールの最大段数は${maxRows}最大列数は${maxCols}です
上限より上部に取り付けたモジュールを削除してください`
swalFire({ title: msg, type: 'alert' })
throw new Error('rackInfos is null')
}

View File

@ -32,7 +32,6 @@ import { outlineDisplaySelector } from '@/store/settingAtom'
import { usePopup } from '@/hooks/usePopup'
import PropertiesSetting from '@/components/floor-plan/modal/outerlinesetting/PropertiesSetting'
import Big from 'big.js'
import RoofShapeSetting from '@/components/floor-plan/modal/roofShape/RoofShapeSetting'
//외벽선 그리기
export function useOuterLineWall(id, propertiesId) {
@ -257,7 +256,7 @@ export function useOuterLineWall(id, propertiesId) {
canvas?.renderAll()
setOuterLineFix(true)
closePopup(id)
addPopup(propertiesId, 1, <RoofShapeSetting id={propertiesId} pos={{ x: 50, y: 230 }} />)
addPopup(propertiesId, 1, <PropertiesSetting id={propertiesId} pos={{ x: 50, y: 230 }} />)
}
if (points.length < 3) {