From 8d26177ddd48dacc1939730b5681bab39a6c2771 Mon Sep 17 00:00:00 2001 From: yangyy Date: Tue, 21 Dec 2021 23:17:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E6=96=B0=E5=BB=BA=E8=BF=9B=E7=A8=8B=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/src/views/service-template/children/operational.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/src/views/service-template/children/operational.vue b/src/ui/src/views/service-template/children/operational.vue index 5f14b7d0aa..710e7d2f3f 100644 --- a/src/ui/src/views/service-template/children/operational.vue +++ b/src/ui/src/views/service-template/children/operational.vue @@ -558,8 +558,8 @@ } }) }) - } else if (data[key]?.value) { - data[key].value = this.$tools.formatValue(data[key]?.value, property) + } else if (typeof data[key] === 'object') { + data[key].value = this.$tools.formatValue(data[key].value, property) } }) return data