From 6241ed18b5551074b6da90492227fb10eb405d8d Mon Sep 17 00:00:00 2001 From: fofolee Date: Sat, 15 Mar 2025 19:40:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BE=93=E5=87=BA=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E5=90=8D=E5=9C=A8=E6=9F=90=E4=BA=9B=E6=83=85=E5=86=B5?= =?UTF-8?q?=E4=B8=8B=E6=97=A0=E6=B3=95=E4=BF=AE=E6=94=B9=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/composer/card/OutputEditor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/composer/card/OutputEditor.vue b/src/components/composer/card/OutputEditor.vue index 07b1e9e..9f204f8 100644 --- a/src/components/composer/card/OutputEditor.vue +++ b/src/components/composer/card/OutputEditor.vue @@ -270,7 +270,7 @@ export default defineComponent({ if (this.currentOutputs) { const flatVars = {}; - Object.entries(this.outputVars).forEach(([path, value]) => { + Object.entries(this.outputVars || {}).forEach(([path, value]) => { if (!value) return; // 跳过空值 flatVars[path] = value; });