Compare commits
No commits in common. "76693640cfbc7bdc345b84d9e42d22bdee9a8bc4" and "defebb21d7de4637066acf6fe6b44fcfabc2907a" have entirely different histories.
76693640cf
...
defebb21d7
@ -1049,7 +1049,9 @@ export const useTrestle = () => {
|
|||||||
if (!rackInfos) {
|
if (!rackInfos) {
|
||||||
const maxRows = surface.trestleDetail.moduleMaxRows
|
const maxRows = surface.trestleDetail.moduleMaxRows
|
||||||
const maxCols = surface.trestleDetail.moduleMaxCols
|
const maxCols = surface.trestleDetail.moduleMaxCols
|
||||||
const msg = `段数の上限は${maxRows}段です。 上限より上の段には設置できません`
|
const msg = `選択した家で設置可能
|
||||||
|
モジュールの最大段数は${maxRows}、最大列数は${maxCols}です。
|
||||||
|
上限より上部に取り付けたモジュールを削除してください。`
|
||||||
swalFire({ title: msg, type: 'alert' })
|
swalFire({ title: msg, type: 'alert' })
|
||||||
throw new Error('rackInfos is null')
|
throw new Error('rackInfos is null')
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,7 +32,6 @@ import { outlineDisplaySelector } from '@/store/settingAtom'
|
|||||||
import { usePopup } from '@/hooks/usePopup'
|
import { usePopup } from '@/hooks/usePopup'
|
||||||
import PropertiesSetting from '@/components/floor-plan/modal/outerlinesetting/PropertiesSetting'
|
import PropertiesSetting from '@/components/floor-plan/modal/outerlinesetting/PropertiesSetting'
|
||||||
import Big from 'big.js'
|
import Big from 'big.js'
|
||||||
import RoofShapeSetting from '@/components/floor-plan/modal/roofShape/RoofShapeSetting'
|
|
||||||
|
|
||||||
//외벽선 그리기
|
//외벽선 그리기
|
||||||
export function useOuterLineWall(id, propertiesId) {
|
export function useOuterLineWall(id, propertiesId) {
|
||||||
@ -257,7 +256,7 @@ export function useOuterLineWall(id, propertiesId) {
|
|||||||
canvas?.renderAll()
|
canvas?.renderAll()
|
||||||
setOuterLineFix(true)
|
setOuterLineFix(true)
|
||||||
closePopup(id)
|
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) {
|
if (points.length < 3) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user