mini-antui
Advanced tools
Comparing version 0.3.12 to 0.3.13-alpha.1
@@ -0,1 +1,8 @@ | ||
## 0.3.12 | ||
`2018-10-12` | ||
- **Enhancement** | ||
- `vtabs`新增`badgeType`和`badgeText`属性([#92](https://github.com/ant-mini-program/mini-antui/issues/92)) | ||
## 0.3.11 | ||
@@ -2,0 +9,0 @@ |
@@ -21,3 +21,3 @@ Component({ | ||
if (restore === true || prevData.holdSwipe === true && holdSwipe === false) { | ||
if (restore === true && _prevProps.restore !== restore || prevData.holdSwipe === true && holdSwipe === false) { | ||
this.setData({ | ||
@@ -37,3 +37,3 @@ leftPos: 0, | ||
my.createSelectorQuery().select('.am-swipe-right-' + this.$id).boundingClientRect().exec(function (ret) { | ||
_this.btnWidth = ret[0].width; | ||
_this.btnWidth = ret && ret[0] && ret[0].width || 60; | ||
}); | ||
@@ -40,0 +40,0 @@ }, |
{ | ||
"name": "mini-antui", | ||
"version": "0.3.12", | ||
"version": "0.3.13-alpha.1", | ||
"description": "小程序版AntUI", | ||
@@ -5,0 +5,0 @@ "repository": { |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
117140
0