remove unused param

This commit is contained in:
taehoon 2019-08-09 23:48:33 -04:00
parent df3e80b7c3
commit 9dd9ba0205
1 changed files with 1 additions and 1 deletions

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)