From 47f0fa8b94a0b63038716270fbc7fc4e46560128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Thu, 14 Nov 2024 15:59:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../task/graph/software/components/KafkaItem.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/views/task/graph/software/components/KafkaItem.vue b/src/views/task/graph/software/components/KafkaItem.vue index b7a715c..254e708 100644 --- a/src/views/task/graph/software/components/KafkaItem.vue +++ b/src/views/task/graph/software/components/KafkaItem.vue @@ -26,7 +26,10 @@ - + + + + @@ -54,7 +57,10 @@ - + + + + @@ -72,7 +78,7 @@ export default { props: { itemData: { type: Object, - default: function () { + default: function() { return { install_jmx_exporter: false, manage_config: { @@ -123,7 +129,7 @@ export default { }) }, getVersion(value) { - getDictChildren({ value: value }).then((data) => { + getDictChildren({ value: value }).then(data => { if (data.success) { if (value === 'KAFKA-VERSION') { this.versionData = data.data