mini-antui
Advanced tools
Comparing version 0.3.13 to 0.3.14-alpha.1
@@ -0,1 +1,9 @@ | ||
## 0.3.13 | ||
`2018-10-18` | ||
- **Bug Fix** | ||
- 修复`swipe-action`在didUpdate时陷入死循环的问题 | ||
- 修复`vtabs`tabs数据变化没有响应的问题 | ||
## 0.3.12 | ||
@@ -2,0 +10,0 @@ |
@@ -32,3 +32,12 @@ var _my$getSystemInfoSync = my.getSystemInfoSync(), | ||
}, | ||
didUpdate: function didUpdate(prevProps) { | ||
var tabs = this.props.tabs; | ||
if (prevProps.tabs.length !== tabs.length) { | ||
this.setData({ | ||
tabWidth: tabs.length > 3 ? 0.25 : 1 / tabs.length | ||
}); | ||
} | ||
}, | ||
methods: { | ||
@@ -35,0 +44,0 @@ handleSwiperChange: function handleSwiperChange(e) { |
{ | ||
"name": "mini-antui", | ||
"version": "0.3.13", | ||
"version": "0.3.14-alpha.1", | ||
"description": "小程序版AntUI", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -8,3 +8,3 @@ <p align="center"> | ||
## 链接 | ||
- [mini-antui官网文档](https://docs.alipay.com/mini/component-ext/overview) | ||
- [mini-antui官网文档](https://docs.alipay.com/mini/component-ext/overview-ext-common) | ||
- [支付宝小程序](https://mini.open.alipay.com/channel/miniIndex.htm) | ||
@@ -11,0 +11,0 @@ - [开发工具](https://docs.alipay.com/mini/ide/overview) |
Sorry, the diff of this file is not supported yet
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
117758
1571
0