my.reLaunch
Close page stacks and jump to the specified page within the application.
Sample Code
copy
my.reLaunch({
url: '/page/index'
})
Parameters
Property | Type | Required | Description |
url | String | Yes | Page path If the page is not a tabbar page, the path can be followed by parameters. Rules for the parameters: The path and parameter are separated withÂ
, the parameter key and the parameter value are connected withÂ
, and different parameters must be separated withÂ
, such asÂ
. |
success | Function | No | Callback function upon call success. |
fail | Function | No | Callback function upon call failure. |
complete | Function | No | Callback function upon call completion (to be executed upon either call success or failure). |