1.0.0-rc.6

pull/322/head
baiyaaaaa 2016-10-11 15:22:37 +08:00
parent f74343d3cd
commit 40c44543fc
2 changed files with 5 additions and 8 deletions

View File

@ -1,8 +1,8 @@
## 更新日志 ## 更新日志
### 1.0.0-rc.6(待发布) ### 1.0.0-rc.6
*2016-XX-XX* *2016-10-11*
- 修复 Tabs 切换后 Tab-panel 被销毁的问题 - 修复 Tabs 切换后 Tab-panel 被销毁的问题
- 修复 TimePicker 错误的隐藏面板 - 修复 TimePicker 错误的隐藏面板

View File

@ -38,7 +38,7 @@
data() { data() {
return { return {
activeIndex: this.defaultActive, activeIndex: this.defaultActive,
openedMenus: (this.defaultOpeneds || []).slice(0), openedMenus: this.defaultOpeneds ? this.defaultOpeneds.slice(0) : [],
menuItems: {}, menuItems: {},
submenus: {} submenus: {}
}; };
@ -50,11 +50,8 @@
this.handleSelect(value, indexPath); this.handleSelect(value, indexPath);
}, },
defaultOpeneds: { defaultOpeneds(value) {
deep: true, this.openedMenus = value;
handler(value) {
this.openedMenus = value;
}
} }
}, },
methods: { methods: {