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)