DB에서 불러온 값 roof에 적용
This commit is contained in:
parent
c35f3c1adb
commit
91ccfcb20e
@ -91,6 +91,9 @@ export default function BasicSetting({ id, pos = { x: 50, y: 230 } }) {
|
|||||||
return {
|
return {
|
||||||
...roof,
|
...roof,
|
||||||
...roofsStore[index]?.addRoof,
|
...roofsStore[index]?.addRoof,
|
||||||
|
construction: roofsStore[index]?.construction,
|
||||||
|
trestle: roofsStore[index]?.trestle,
|
||||||
|
trestleDetail: roofsStore[index]?.trestleDetail,
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|||||||
@ -263,7 +263,6 @@ const Trestle = forwardRef((props, ref) => {
|
|||||||
})
|
})
|
||||||
setRoofs(newAddedRoofs)
|
setRoofs(newAddedRoofs)
|
||||||
setSelectedRoof(newAddedRoofs[index])
|
setSelectedRoof(newAddedRoofs[index])
|
||||||
console.log(newAddedRoofs)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const isComplete = async () => {
|
const isComplete = async () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user