From d9a9c7e2298ff67d255e31668460ec73b3673554 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Wed, 28 Feb 2024 18:48:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B9=B3=E5=8F=B0=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E6=94=B9=E5=AF=86=E5=8F=82=E6=95=B0=E5=92=8C=E6=8E=A8=E9=80=81?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=B2=A1=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/assets/Platform/AutomationParamsSetting.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/assets/Platform/AutomationParamsSetting.vue b/src/views/assets/Platform/AutomationParamsSetting.vue index ff37eb74d..c47b44c73 100644 --- a/src/views/assets/Platform/AutomationParamsSetting.vue +++ b/src/views/assets/Platform/AutomationParamsSetting.vue @@ -149,7 +149,9 @@ export default { break } - v.default = param[k] || v.default + if (param) { + v.default = param[k] || v.default + } const item = { ...v, component: component } fieldsMeta[method].fields.push(k) fieldsMeta[method].fieldsMeta[k] = item