[ISSUE#770] Send message with message trace (#771)

This commit is contained in:
StyleTang
2021-08-06 08:57:04 +08:00
committed by GitHub
parent 7868b2b463
commit 1ea15b511c
11 changed files with 78 additions and 54 deletions

View File

@@ -84,5 +84,6 @@ var en = {
"PASSWORD":"Password",
"NO_DATA":"Don't have ",
"SYSTEM":"SYSTEM",
"WELCOME":"Hi, welcome using RocketMQ Console"
"WELCOME":"Hi, welcome using RocketMQ Console",
"ENABLE_MESSAGE_TRACE":"Enable Message Trace"
}

View File

@@ -85,5 +85,6 @@ var zh = {
"PASSWORD":"密码",
"NO_DATA":"不存在 ",
"SYSTEM":"系统",
"WELCOME":"您好欢迎使用RocketMQ控制台"
"WELCOME":"您好欢迎使用RocketMQ控制台",
"ENABLE_MESSAGE_TRACE":"开启消息轨迹"
}

View File

@@ -439,8 +439,9 @@ module.controller('sendTopicMessageDialogController', ['$scope', 'ngDialog', '$h
$scope.sendTopicMessage = {
topic: $scope.ngDialogData.topic,
key: "key",
tag:"tag",
messageBody:"messageBody"
tag: "tag",
messageBody: "messageBody",
traceEnabled: false
};
$scope.send = function () {
$http({

View File

@@ -527,7 +527,13 @@
ng-disabled></textarea>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">{{'ENABLE_MESSAGE_TRACE'|translate}}:</label>
<div class="col-sm-10">
<md-switch class="md-primary" md-no-ink ng-model="sendTopicMessage.traceEnabled">
</md-switch>
</div>
</div>
</form>
</div>
<div class="modal-footer">