@tarojs/components-react 3.3.14 → 3.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10383,7 +10383,7 @@ var Swiper$1 = /*#__PURE__*/function (_React$Component2) {
10383
10383
  var target = e.target;
10384
10384
  var className = target && typeof target.className === 'string' ? target.className : '';
10385
10385
 
10386
- if (className.includes('taro_page') && target.style.display === 'block') {
10386
+ if (className.includes('taro_page') && target.style.display !== 'none') {
10387
10387
  if (that.props.autoplay && target.contains(_swiper.$el[0])) {
10388
10388
  _swiper.slideTo(that._$current);
10389
10389
  }