There is neither a property named tab nor a property named Index in your code
Define the data section and add these properties
data() {
return {
tab: null,
Index: null
}
}
Also, I don't see any use of these variables other than console.log.
So if this were true, there would be no need to define the data() part. You can directly emit parameters like
There is neither a property named tab nor a property named Index in your code Define the data section and add these properties
Also, I don't see any use of these variables other than
console.log
. So if this were true, there would be no need to define thedata()
part. You can directly emit parameters like