title: Taro.offPageNotFound(callback)

sidebar_label: offPageNotFound

Un-listens on the event that a page to be opened by the Mini Program does not exist.

Reference

Type

  1. (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 ✔️