Commit 0d7b732c authored by JingChao's avatar JingChao

Update index.vue

parent 39bafd32
...@@ -81,6 +81,7 @@ export default { ...@@ -81,6 +81,7 @@ export default {
actived (index, clientWidth) { actived (index, clientWidth) {
this.activedIndex = index this.activedIndex = index
this.$emit('tabClick', index) this.$emit('tabClick', index)
this.$emit('input', index)
this.scrollToActiveTab(index, clientWidth) this.scrollToActiveTab(index, clientWidth)
}, },
......
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