@@ -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()}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user