Skip to content

Commit

Permalink
Merge pull request #13 from jackytsu/master
Browse files Browse the repository at this point in the history
修复当 “storePathRootDir” 和 “storePathCommitLog” 属性有值时,broker 安装路径始终为空的问题。
  • Loading branch information
gaoyf authored Mar 31, 2021
2 parents 0cc147b + e71d3ba commit b5e7bbb
Showing 1 changed file with 7 additions and 3 deletions.
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>

0 comments on commit b5e7bbb

Please sign in to comment.