Properties
Private isClick
isClick: boolean = true
Private maxDeep
maxDeep: number = 10
Methods
Private findPageInHistory
- findPageInHistory(path: string): number
-
Parameters
Returns number
gotoPage
- gotoPage(...arg: [CommonParams["path"], CommonParams["query"]]): Promise<any>
-
Parameters
-
Rest ...arg: [CommonParams["path"], CommonParams["query"]]
Returns Promise<any>
navigateBack
- navigateBack(query: { delta: number }, option?: { setData: Record<string, unknown> }): Promise<unknown>
-
Parameters
-
query: { delta: number }
-
Optional option: { setData: Record<string, unknown> }
-
setData: Record<string, unknown>
Returns Promise<unknown>
navigateTo
- navigateTo(path: CommonParams["path"], query?: CommonParams["query"], options?: { events: any }): Promise<any>
-
Parameters
-
path: CommonParams["path"]
-
Optional query: CommonParams["query"]
-
Optional options: { events: any }
Returns Promise<any>
redirectTo
- redirectTo(path: CommonParams["path"], query?: CommonParams["query"]): Promise<unknown>
-
Parameters
-
path: CommonParams["path"]
-
Default value query: CommonParams["query"] = {}
Returns Promise<unknown>
switchTab
- switchTab(path: CommonParams["path"], query?: CommonParams["query"]): Promise<unknown>
-
Parameters
-
path: CommonParams["path"]
-
Default value query: CommonParams["query"] = {}
Returns Promise<unknown>
navigateBack