diff --git a/doric-Qt/example/app/main.qml b/doric-Qt/example/app/main.qml index f1684bcf..e6c9bf48 100644 --- a/doric-Qt/example/app/main.qml +++ b/doric-Qt/example/app/main.qml @@ -45,7 +45,7 @@ ApplicationWindow { MouseArea { anchors.fill: parent onClicked: { - stack.pop() + navigatorPop() } } } @@ -169,6 +169,7 @@ ApplicationWindow { function navigatorPop() { stack.pop() + console.log("stack.depth", stack.depth) if (stack.depth > 1) { navbar.visible = true } else {