Two Mixins with same name function Vuejs

Viewed 3687

Hello I have this problem with vuejs and mixin. I have a component that has 2 Mixin:

 export default {
 ...
 mixins:[Mixin1, Mixin2],
 ..
}

Both Mixins have a function named "delete", so If in my component I have a method like:

methods:{
 deleteObj(){
    this.delete()
 }
}

I don't know which one function I call. I know the simplest way is call with a different name the functions but is there a way to specify wich mixin to use?

1 Answers
Related