Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

antd-mini

Package Overview
Dependencies
Maintainers
0
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antd-mini - npm Package Compare versions

Comparing version 2.35.3 to 2.35.4

6

es/Popup/index.js

@@ -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) {

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc