cross-mp-power
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -434,3 +434,4 @@ const memoize = (func)=>{ | ||
} | ||
if (typeof BUILD_TARGET === 'string' ? BUILD_TARGET === 'swan' : getApiVarName() === 'swan' && selector.split('.').length > 2) { | ||
const isSwan = typeof BUILD_TARGET === 'string' ? BUILD_TARGET === 'swan' : getApiVarName() === 'swan'; | ||
if (isSwan && selector.split('.').length > 2) { | ||
console.warn('百度小程序平台下使用多个class选择器获取boundingClientRect时可能拿不到数据,建议换成单个class或者id选择器'); | ||
@@ -437,0 +438,0 @@ } |
{ | ||
"name": "cross-mp-power", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "跨平台小程序能力封装", | ||
@@ -5,0 +5,0 @@ "main": "esm/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79503
776