Taro.offPageNotFound(callback)
Un-listens on the event that a page to be opened by the Mini Program does not exist.
Type
(callback: (res: CallbackResult) => void) => void
Parameters
Parameter | Type | Description |
---|---|---|
callback | (res: CallbackResult) => void | The callback function for the event that a page to be opened by the Mini Program does not exist. |
API Support
API | WeChat Mini-Program | H5 | React Native |
---|---|---|---|
Taro.offPageNotFound | ✔️ |