From 5470a31977c11b2e6deb1dd0970825ac73ea6d53 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Mon, 9 Jun 2025 16:50:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=BB=E5=B8=83=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E4=B8=80=E9=83=A8=E5=88=86=E5=90=8E=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E5=86=8D=E6=AC=A1=E6=89=93=E5=BC=80=E4=BD=BF=E7=94=A8=E4=B8=8A?= =?UTF-8?q?=E6=AC=A1=E7=94=BB=E5=B8=83=E4=BF=A1=E6=81=AF=E7=9A=84=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=92=A4=E5=9B=9E=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/HomePage/ExportModel.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/component/HomePage/ExportModel.vue b/src/component/HomePage/ExportModel.vue index bcddf2ab..fbb9ab26 100644 --- a/src/component/HomePage/ExportModel.vue +++ b/src/component/HomePage/ExportModel.vue @@ -436,7 +436,9 @@ export default defineComponent({ if(oldExportCanvas){ canvasWH.value.height = oldExportCanvas.canvasHeight canvas.setHeight(canvasWH.value.height); - canvas.loadFromJSON(oldExportCanvas, () => {}); + canvas.loadFromJSON(oldExportCanvas, () => { + updateCanvasState('')//加载完成后记录一下 + }); isShowMark.value = false }else{ canvasWH.value.height = 500 @@ -549,8 +551,8 @@ export default defineComponent({ } }) isShowMark.value = false + updateCanvasState('')//加载完成后记录一下 } - updateCanvasState('')//加载完成后记录一下 } let createCanvas = (oldExportCanvas) => { showUpgradePlan.value = true;