From f4e40519ba095b72e912d35bc8a4ef56b0104b3d Mon Sep 17 00:00:00 2001
From: v_xugzhou <941071842@qq.com>
Date: Tue, 24 Dec 2024 09:56:15 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BE=93=E5=87=BA=E5=8F=82=E6=95=B0?=
 =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E6=97=B6=E6=A0=A1=E9=AA=8C=E5=A4=B1=E8=B4=A5?=
 =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D=20--ignore=20#=20Reviewed,?=
 =?UTF-8?q?=20transaction=20id:=2027551?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../views/template/TemplateEdit/NodeConfig/InputParams.vue   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/frontend/src/views/template/TemplateEdit/NodeConfig/InputParams.vue b/frontend/src/views/template/TemplateEdit/NodeConfig/InputParams.vue
index f97c987..568146b 100644
--- a/frontend/src/views/template/TemplateEdit/NodeConfig/InputParams.vue
+++ b/frontend/src/views/template/TemplateEdit/NodeConfig/InputParams.vue
@@ -550,7 +550,10 @@
         this.reuseableVarList = [];
       },
       validate() {
-        return this.$refs.inputParamsForm.validate();
+        if (this.$refs.inputParamsForm) {
+          return this.$refs.inputParamsForm.validate();
+        }
+        return true;
       },
     },
   };