change pop function invoke

This commit is contained in:
王劲鹏
2021-06-09 20:55:44 +08:00
committed by osborn
parent 41ebe1d64a
commit 928a4ab038

View File

@@ -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 {