remove unused param

This commit is contained in:
taehoon 2019-08-09 23:48:33 -04:00
parent df3e80b7c3
commit 9dd9ba0205

View file

@ -17,7 +17,7 @@ export default Vue.component('tab-switcher', {
} }
}, },
methods: { methods: {
activateTab (index, dataset) { activateTab (index) {
return () => { return () => {
if (typeof this.onSwitch === 'function') { if (typeof this.onSwitch === 'function') {
this.onSwitch.call(null, this.$slots.default[index].key) this.onSwitch.call(null, this.$slots.default[index].key)