修复嵌入小程序讲解列表返回导览首页
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-19 22:50:28 +08:00
parent 200b54eade
commit e2bf84aec6
2 changed files with 21 additions and 1 deletions

View File

@@ -122,7 +122,8 @@ const returnToGuideHome = () => {
? previousPage.options.tab[0]
: previousPage?.options?.tab
const canNavigateBackToGuideHome = (
previousRoute === 'pages/index/index'
!shouldUseHostNavigation.value
&& previousRoute === 'pages/index/index'
&& (!previousTab || previousTab === 'guide')
)