mini-antui
Advanced tools
Comparing version 0.4.29 to 0.4.30
@@ -0,1 +1,13 @@ | ||
## 0.4.30 | ||
`2019-08-27` | ||
- **Bug Fix** | ||
- 修复 `collapse` 在 `didUnmout` 时清除缓存的问题 [#291](https://github.com/ant-mini-program/mini-antui/pull/291) | ||
- 修复 `swipe-action` 在模拟器中点击会触发滑动的问题 [#294](https://github.com/ant-mini-program/mini-antui/pull/294) | ||
- **Enhancement** | ||
- package.json 增加 node 版本限定 `"node": "^10.0.0"` | ||
- 更新 yarn.lock | ||
## 0.4.29 | ||
@@ -2,0 +14,0 @@ |
@@ -26,2 +26,7 @@ var noop = function noop() {}; | ||
}, | ||
didUnmount: function didUnmount() { | ||
// clear cache in page when didUnmount | ||
delete this.$page[collapsePrefix("ids-" + this.props.collapseKey)]; | ||
delete this.$page[collapsePrefix("updates-" + this.props.collapseKey)]; | ||
}, | ||
methods: { | ||
@@ -28,0 +33,0 @@ initData: function initData() { |
@@ -108,3 +108,3 @@ Component({ | ||
}); | ||
}).catch(function () { | ||
})["catch"](function () { | ||
_this3.webViewContext.postMessage({ | ||
@@ -111,0 +111,0 @@ action: 'requestFailure' |
@@ -77,3 +77,3 @@ var _my$getSystemInfoSync = my.getSystemInfoSync(), | ||
onSwipeTap: function onSwipeTap() { | ||
if (!this.data.swiping) { | ||
if (!this.data.swiping && this.data.x < 0) { | ||
this.setData({ | ||
@@ -80,0 +80,0 @@ leftPos: 0, |
{ | ||
"name": "mini-antui", | ||
"version": "0.4.29", | ||
"version": "0.4.30", | ||
"description": "小程序版AntUI", | ||
@@ -40,2 +40,5 @@ "repository": { | ||
}, | ||
"engines": { | ||
"node": "^10.0.0" | ||
}, | ||
"scripts": { | ||
@@ -42,0 +45,0 @@ "lint-staged": "lint-staged", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
152456
2192
1