We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
微信小程序
小程序基础库: 2.15.0 使用框架: React
编写代码直接引入Taro.enableAlertBeforeUnload 和 Taro.disableAlertBeforeUnload 代码执行错误都是xxxx不是一个function ts类型解析中也没有这两个(我看了3.0.24都后续的几个版本log,好像都没有修复) 微信相关文档链接
代码编写能够直接使用Taro.enableAlertBeforeUnload 这种方式引入操作
如果使用Taro操作 执行报错 需要wx.enableAlertBeforeUnload 引入
Taro CLI 3.0.24 environment info: System: OS: Windows 10 Binaries: Node: 12.14.1 - C:\Program Files\nodejs\node.EXE Yarn: 1.21.1 - C:\Users\catsayer\AppData\Roaming\npm\yarn.CMD npm: 6.14.8 - C:\Users\catsayer\AppData\Roaming\npm\npm.CMD
The text was updated successfully, but these errors were encountered:
3.1+ 已支持
Sorry, something went wrong.
2.x 版本如果使用,需要怎么处理
No branches or pull requests
相关平台
微信小程序
小程序基础库: 2.15.0
使用框架: React
复现步骤
编写代码直接引入Taro.enableAlertBeforeUnload 和 Taro.disableAlertBeforeUnload 代码执行错误都是xxxx不是一个function
ts类型解析中也没有这两个(我看了3.0.24都后续的几个版本log,好像都没有修复)
微信相关文档链接
期望结果
代码编写能够直接使用Taro.enableAlertBeforeUnload 这种方式引入操作
实际结果
如果使用Taro操作 执行报错 需要wx.enableAlertBeforeUnload 引入
环境信息
The text was updated successfully, but these errors were encountered: