< H1 > add < / H1 >
the title description is a little vague,
there are methods such as the props property and $emit ("on-ok") in the
component
call
via < component: xxx= "xxx" @ on-ok= "xxx" >question:
I am now calling via plug-in mount, but the onchange function does not trigger
this.$sideNav({
nav: ["123","bbb"],
onchange: function(value){
console.log(value)
}
});