修复讲解详情返回对象列表
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-28 12:22:58 +08:00
parent 8b3e3f8d55
commit 2fb70fa1e3
6 changed files with 92 additions and 4 deletions

View File

@@ -1,4 +1,13 @@
export const explainGuideStopListUrl = (hallId: string, hallName = '讲解') => {
type ExplainGuideStopListNavigationOptions = {
returnToHallList?: boolean
}
export const explainGuideStopListUrl = (
hallId: string,
hallName = '讲解',
options: ExplainGuideStopListNavigationOptions = {}
) => {
const params = new URLSearchParams({ hallId, hallName })
if (options.returnToHallList) params.set('returnToHallList', '1')
return `/pages/explain/guide-stop-list?${params.toString()}`
}