wxcanIUse
wx.canIUse is a method provided by the WeChat Mini Program framework that checks whether a certain API or feature is supported by the current version of the WeChat app. It returns a Boolean value indicating whether the feature is supported or not. This can be used to write code that is compatible with different versions of the WeChat app, and to provide fallbacks or alternative implementations for unsupported features.
原文地址: https://www.cveoy.top/t/topic/fD8h 著作权归作者所有。请勿转载和采集!