Skip to content

Commit 9369469

Browse files
committed
fix(flow):1.10.19, 解决LoopIfAction在ToGraphviz时错乱的问题
1 parent 8579cdf commit 9369469

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

modules/flow/actions/loop_if_action.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ LoopIfAction::~LoopIfAction() {
3838

3939
void LoopIfAction::toJson(Json &js) const {
4040
AssembleAction::toJson(js);
41-
if_action_->toJson(js["0.if"]);
42-
exec_action_->toJson(js["1.exec"]);
41+
auto &js_children = js["children"];
42+
if_action_->toJson(js_children["0.if"]);
43+
exec_action_->toJson(js_children["1.exec"]);
4344
}
4445

4546
bool LoopIfAction::setChildAs(Action *child, const std::string &role) {

version.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
# TBOX版本号
2222
TBOX_VERSION_MAJOR := 1
2323
TBOX_VERSION_MINOR := 10
24-
TBOX_VERSION_REVISION := 18
24+
TBOX_VERSION_REVISION := 19

0 commit comments

Comments
 (0)