Why after clicking send bus.$emit triggers event to send data, there is no response to bus.$on. Then come back and click the button that triggered bus.$emit to print out the console.log (data) result.
this is my trigger button
test(){
bus.$emit("OTT","")
}
this is received and written in mounted
bus.$on("OTT",(value)=>{
console.log(value)
//this.tests = value;
})