跳到主要内容

bn.onPageNotFound

onPageNotFound: (cb: PageNotFoundCallback) => void

Type declaration

▸ (cb): void

Parameters

NameType
cbPageNotFoundCallback

Returns

void


PageNotFoundCallback

Ƭ PageNotFoundCallback: (result: OnPageNotFoundCallbackResult) => void

Type declaration

▸ (result): void

Parameters

NameType
resultOnPageNotFoundCallbackResult

Returns

void


Interface: OnPageNotFoundCallbackResult

NameTypeDescription
isEntryPageboolean
pathstring
queryRecord<string, unknown>