From 428cc5214f9d6f08da1c122fe108797e427c36d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Tue, 12 Nov 2024 14:35:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20mq=20=E6=B7=BB=E5=8A=A0=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../graph/software/components/RabbitMq.vue | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/views/task/graph/software/components/RabbitMq.vue b/src/views/task/graph/software/components/RabbitMq.vue index ef278e4..ff28c4f 100644 --- a/src/views/task/graph/software/components/RabbitMq.vue +++ b/src/views/task/graph/software/components/RabbitMq.vue @@ -17,6 +17,11 @@ + + + + + @@ -90,13 +95,13 @@ - + - + - +
@@ -149,9 +154,10 @@ export default { props: { itemData: { type: Object, - default: function () { + default: function() { return { cluster_install: false, + config_ssl: false, rabbitmq_users: [ { user: '', @@ -182,14 +188,14 @@ export default { // 加密解密处理 handleCrypto(itemData, fun = encrypt) { const { rabbitmq_users } = itemData - rabbitmq_users.forEach((item) => { + rabbitmq_users.forEach(item => { if (item.password) { item.password = fun(item.password) } }) }, getVersion() { - getDictChildren({ value: 'RABBITMQ-VERSION' }).then((data) => { + getDictChildren({ value: 'RABBITMQ-VERSION' }).then(data => { if (data.success) { this.versionData = data.data } @@ -217,7 +223,7 @@ export default { }, getPostData() { let data = false - this.$refs.form.validate((valid) => { + this.$refs.form.validate(valid => { if (valid) { const itemData = cloneDeep(this.itemData) this.handleCrypto(itemData, encrypt)