remove unused param
This commit is contained in:
parent
df3e80b7c3
commit
9dd9ba0205
@ -17,7 +17,7 @@ export default Vue.component('tab-switcher', {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
activateTab (index, dataset) {
|
||||
activateTab (index) {
|
||||
return () => {
|
||||
if (typeof this.onSwitch === 'function') {
|
||||
this.onSwitch.call(null, this.$slots.default[index].key)
|
||||
|
Loading…
Reference in New Issue
Block a user