Commit 40c44543 authored by baiyaaaaa's avatar baiyaaaaa

1.0.0-rc.6

parent f74343d3
## 更新日志 ## 更新日志
### 1.0.0-rc.6(待发布) ### 1.0.0-rc.6
*2016-XX-XX* *2016-10-11*
- 修复 Tabs 切换后 Tab-panel 被销毁的问题 - 修复 Tabs 切换后 Tab-panel 被销毁的问题
- 修复 TimePicker 错误的隐藏面板 - 修复 TimePicker 错误的隐藏面板
......
...@@ -38,7 +38,7 @@ ...@@ -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 @@ ...@@ -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: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment