Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复当 “storePathRootDir” 和 “storePathCommitLog” 属性有值时,broker 安装路径始终为空的问题。 #13

Merged
merged 3 commits into from
Mar 31, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions mq-cloud/src/main/resources/templates/admin/cluster/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h4 class="modal-title">${brokerGroup[key][bkey].brokerAddr}延迟队列数据</
</#if>
<td>
<#if brokerGroup[key][bkey].version??>${brokerGroup[key][bkey].version}</#if>
</td>
</td>
<td>
<#if brokerGroup[key][bkey].checkStatus == 2>
<font style='font-weight:bold' color='red'>${brokerGroup[key][bkey].checkStatusDesc}</font>
Expand Down Expand Up @@ -1102,7 +1102,11 @@ <h4 class="modal-title"><span id="brokerAddr"></span>线上配置</h4>
$("#storePathRootDir").val("/opt/mqcloud/"+$("#brokerName").val()+"/data");
$("#storePathCommitLog").val("/opt/mqcloud/"+$("#brokerName").val()+"/data/commitlog");
});
}
}else{
$("#brokerName").bind('input propertychange', function(){
$("#dir").val($("#brokerName").val());
});
}
if(!$("#rmqAddressServerDomain").val()){
$("#rmqAddressServerDomain").val('${mqcloudDomain}').attr("readonly","readonly");
}
Expand Down Expand Up @@ -1509,7 +1513,7 @@ <h4 class="modal-title"><span id="brokerAddr"></span>线上配置</h4>
toastr.error("启动失败!"+data.message);
enable(dir+"Btn");
}
}, 'json');
}, 'json');
}
</script>
</#if>