Merge branch 'dev'
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 308e3f0..e1f31c2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,12 @@
# Change Log
+## 0.6.16
+- [+] [wxc-pan-item](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-pan-item/) add `extId` when pan. [issue/441](https://github.com/alibaba/weex-ui/issues/441)
+
## 0.6.15
- [!] [wxc-swipe-action](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-swipe-action/)fix delete the last data item, then click on another item to report the error.
- [!] [wxc-slider-bar](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-slider-bar/) fix dynamically assign value to value, then slide back to return value
+- [!] [wxc-radio](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-radio/) fix the selected item cannot be modified when modifying the list array
## 0.6.14
- [!] [wxc-swipe-action](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-swipe-action/) adds slot labels, extended style and height attributes
diff --git a/CHANGELOG_cn.md b/CHANGELOG_cn.md
index 4a243fb..cf2cbf4 100644
--- a/CHANGELOG_cn.md
+++ b/CHANGELOG_cn.md
@@ -1,8 +1,11 @@
# 升级日志
+## 0.6.16
+- [+] [wxc-pan-item](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-pan-item/) 滑动时候新增 `extId` 回调 [issue/441](https://github.com/alibaba/weex-ui/issues/441)
## 0.6.15
- [!] 解决[wxc-swipe-action](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-swipe-action/)删除最后一个数据项,再点击其他项动画报错
-- [!] wxc-slider-bar组件 动态给value赋值后,再滑动返回值错乱
+- [!] [wxc-slider-bar](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-slider-bar/)组件 动态给value赋值后,再滑动返回值错乱
+- [!] [wxc-radio](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-radio/)组件修改list array时无法修改选中项
## 0.6.14
- [!] [wxc-swipe-action](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-swipe-action/)添加slot标签,扩展styles和height属性
diff --git a/docs/_coverpage.md b/docs/_coverpage.md
index df08cd9..32eec77 100644
--- a/docs/_coverpage.md
+++ b/docs/_coverpage.md
@@ -1,9 +1,8 @@
<img src="https://img.alicdn.com/tfs/TB1kCs_er_I8KJjy1XaXXbsxpXa-419-495.png" width="146px">
-# <span style="font-weight:400;">Weex Ui</span> <span style="font-size:14px">0.6.13</span>
+# <span style="font-weight:400;">Weex Ui</span> <span style="font-size:14px">0.6.16</span>
> <span style="line-height:1.8rem;font-weight:400;font-size:1.3rem">A rich interaction, lightweight, high performance UI library.<span>
[Star Me](https://github.com/alibaba/weex-ui)
[Get Started](#weex-ui)
-
diff --git a/docs/_navbar.md b/docs/_navbar.md
index 9473f5c..d40944d 100644
--- a/docs/_navbar.md
+++ b/docs/_navbar.md
@@ -6,5 +6,4 @@
<img src="https://img.alicdn.com/tfs/TB1kCs_er_I8KJjy1XaXXbsxpXa-419-495.png" width="400"/>
</div>
<img src="https://img.alicdn.com/tfs/TB1fjeQLpzqK1RjSZFvXXcB7VXa-1368-596.png" class="community-img" id="J_community_image" />
-
-
+- <a href="https://www.yuque.com/tw93/root/help" target="_blank" style="color:red"> 很缺前端 </a>
diff --git a/package.json b/package.json
index e24bb24..7ff42a6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "weex-ui",
- "version": "0.6.15",
+ "version": "0.6.16",
"description": "A rich interaction, lightweight, high performance UI library based on Weex",
"main": "index.js",
"lib": "vue",
diff --git a/packages/wxc-pan-item/index.vue b/packages/wxc-pan-item/index.vue
index d493e9f..afc877f 100644
--- a/packages/wxc-pan-item/index.vue
+++ b/packages/wxc-pan-item/index.vue
@@ -67,7 +67,7 @@
if (e.state === 'start') {
this.isPanning = true;
const element = this.$refs['wxc-pan-item'];
- element && this.$emit('wxcPanItemPan', { element });
+ element && this.$emit('wxcPanItemPan', { element, extId: this.extId });
} else if (e.state === 'end') {
setTimeout(() => {
this.isPanning = false;
diff --git a/packages/wxc-radio/index.vue b/packages/wxc-radio/index.vue
index 34e2238..5e69dd2 100644
--- a/packages/wxc-radio/index.vue
+++ b/packages/wxc-radio/index.vue
@@ -46,7 +46,13 @@
}
},
watch: {
- list (newList) {
+ list (newList, oldList) {
+ if (JSON.stringify(newList) !== JSON.stringify(oldList.map(v => {
+ const {title, value} = v
+ return {title, value}
+ }))) {
+ this.checkedIndex = -1
+ }
this.setListChecked(newList);
}
},