사진 찍기 전후 처리 추가

This commit is contained in:
hyojun.choi 2025-06-10 17:02:21 +09:00
parent 765cc9c43f
commit 657d971a2b

View File

@ -371,7 +371,6 @@ export default function CircuitTrestleSetting({ id }) {
// () // ()
const onApply = async () => { const onApply = async () => {
beforeCapture()
setAllModuleSurfaceIsComplete(false) setAllModuleSurfaceIsComplete(false)
setIsGlobalLoading(true) setIsGlobalLoading(true)
@ -381,8 +380,9 @@ export default function CircuitTrestleSetting({ id }) {
.map((obj) => { .map((obj) => {
obj.pcses = getStepUpListData() obj.pcses = getStepUpListData()
}) })
beforeCapture()
handleCanvasToPng(1) handleCanvasToPng(1)
afterCapture()
// result=null // result=null
@ -399,6 +399,7 @@ export default function CircuitTrestleSetting({ id }) {
const result = await getEstimateData() const result = await getEstimateData()
if (result) { if (result) {
beforeCapture()
handleCanvasToPng(2) handleCanvasToPng(2)
afterCapture() afterCapture()
// //