提交 26c32028 编写于 作者: fxy060608's avatar fxy060608

fix(app): popGesture with direct page

上级 ac3d7bc7
......@@ -23,10 +23,11 @@ export function onWebviewPopGesture(webview: PlusWebviewWebviewObject) {
// 拖拽未完成,设置为当前状态栏前景色
setStatusBarStyle(popStartStatusBarStyle)
} else if (e.type === 'end' && e.result) {
const len = getCurrentPages().length
const page = getCurrentPage()
removeCurrentPage()
setStatusBarStyle()
if (page && isDirectPage(page)) {
if (page && len === 1 && isDirectPage(page)) {
reLaunchEntryPage()
} else {
// 触发前一个页面 onShow
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册