跳到主要内容

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'),
})

Parameters

NameType
paramsCmdSetUpdatePageQueryOptionsType

Returns

void

CmdSetUpdatePageQueryOptionsType

Ƭ CmdSetUpdatePageQueryOptionsType: Object

Type declaration

NameType
pathstring
query?undefined | string