remove useless index param of onSwitch
This commit is contained in:
parent
539913673f
commit
cd14566a34
3 changed files with 3 additions and 3 deletions
|
@ -75,7 +75,7 @@ const Search = {
|
|||
const length = this[tabName].length
|
||||
return length === 0 ? '' : ` (${length})`
|
||||
},
|
||||
onResultTabSwitch (_index, dataset) {
|
||||
onResultTabSwitch (dataset) {
|
||||
this.currenResultTab = dataset.filter
|
||||
},
|
||||
getActiveTab () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue