feature/ysCha #23
@ -1049,9 +1049,7 @@ export const useTrestle = () => {
|
||||
if (!rackInfos) {
|
||||
const maxRows = surface.trestleDetail.moduleMaxRows
|
||||
const maxCols = surface.trestleDetail.moduleMaxCols
|
||||
const msg = `選択した家で設置可能
|
||||
モジュールの最大段数は${maxRows}、最大列数は${maxCols}です。
|
||||
上限より上部に取り付けたモジュールを削除してください。`
|
||||
const msg = `段数の上限は${maxRows}段です。 上限より上の段には設置できません`
|
||||
swalFire({ title: msg, type: 'alert' })
|
||||
throw new Error('rackInfos is null')
|
||||
}
|
||||
|
||||
@ -32,6 +32,7 @@ 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) {
|
||||
@ -256,7 +257,7 @@ export function useOuterLineWall(id, propertiesId) {
|
||||
canvas?.renderAll()
|
||||
setOuterLineFix(true)
|
||||
closePopup(id)
|
||||
addPopup(propertiesId, 1, <PropertiesSetting id={propertiesId} pos={{ x: 50, y: 230 }} />)
|
||||
addPopup(propertiesId, 1, <RoofShapeSetting id={propertiesId} pos={{ x: 50, y: 230 }} />)
|
||||
}
|
||||
|
||||
if (points.length < 3) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user