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 {
|
||||
...roof,
|
||||
...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)
|
||||
setSelectedRoof(newAddedRoofs[index])
|
||||
console.log(newAddedRoofs)
|
||||
}
|
||||
|
||||
const isComplete = async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user