antd-mini
Advanced tools
Comparing version 2.35.3 to 2.35.4
@@ -33,2 +33,3 @@ import { Component, triggerEventOnly, getValueFromProps, } from '../_util/simply'; | ||
didUpdate: function (prevProps) { | ||
var _this = this; | ||
var _a = getValueFromProps(this, [ | ||
@@ -42,3 +43,6 @@ 'visible', | ||
if (enableAnimation && !visible) { | ||
this.setData({ closing: true }); | ||
setTimeout(function () { | ||
// 这里需要用setTimeout包一下,解决支付宝小程序Picker中导致 targetId not match | ||
_this.setData({ closing: true }); | ||
}); | ||
} | ||
@@ -45,0 +49,0 @@ if (!enableAnimation) { |
@@ -33,2 +33,3 @@ import { Component, triggerEventOnly, getValueFromProps, } from '../_util/simply'; | ||
didUpdate: function (prevProps) { | ||
var _this = this; | ||
var _a = getValueFromProps(this, [ | ||
@@ -42,3 +43,6 @@ 'visible', | ||
if (enableAnimation && !visible) { | ||
this.setData({ closing: true }); | ||
setTimeout(function () { | ||
// 这里需要用setTimeout包一下,解决支付宝小程序Picker中导致 targetId not match | ||
_this.setData({ closing: true }); | ||
}); | ||
} | ||
@@ -45,0 +49,0 @@ if (!enableAnimation) { |
{ | ||
"name": "antd-mini", | ||
"version": "2.35.3", | ||
"version": "2.35.4", | ||
"description": "antd-mini 是支付宝小程序 UI 组件库,遵循 Ant Design 规范。", | ||
@@ -5,0 +5,0 @@ "miniprogram": "compiled/wechat/src", |
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
3713537
38638