Why did you report an error? Solve. Thank you
console.log(this.$socket)
this means store? The point is wrong. This must be
Previous: How to display the sub-form of another program and click the button inside?
Next: Is there a variable promotion in ES6's let,const?