From 928a4ab0389ccadc9352b79bd6f0e48ef79f5a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Wed, 9 Jun 2021 20:55:44 +0800 Subject: [PATCH] change pop function invoke --- doric-Qt/example/app/main.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {