- 业务单元列表上一页为首页讲解 Tab 时直接按页面栈返回 - 保留独立讲解展厅列表页的正常返回逻辑 - 避免返回时插入内容重复的讲解展厅列表页 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -109,7 +109,10 @@ const handleBack = () => {
|
||||
const pages = getCurrentPages()
|
||||
const previousPage = pages.length >= 2 ? pages[pages.length - 2] : null
|
||||
|
||||
if (previousPage?.route === 'pages/explain/list') {
|
||||
if (
|
||||
previousPage?.route === 'pages/explain/list'
|
||||
|| previousPage?.route === 'pages/index/index'
|
||||
) {
|
||||
uni.navigateBack({
|
||||
delta: 1,
|
||||
fail: goBackToExplainHallList
|
||||
|
||||
Reference in New Issue
Block a user