bn.updatePageUrl
▸ updatePageUrl(params
): void
description
update the url info on the current page for the native.
example
bn.updatePageUrl({
path: '/pages/index/index',
query: encodeURIComponent('a=1&b=2'),
// Starting from APP 3.1.0, the developer can call bn.updatePageUrl({path:"", query: "", target:"deeplink"})
// to update the path and query of deeplink.
target: 'deeplink',
})
Parameters
Name | Type |
---|---|
params | CmdSetUpdatePageQueryOptionsType |
Returns
void
CmdSetUpdatePageQueryOptionsType
Ƭ CmdSetUpdatePageQueryOptionsType: Object
Type declaration
Name | Type |
---|---|
path | string |
query? | undefined | string |
target? | undefined | string |