the first way:
the parent component passes values to the child component, but the data passed cannot be manipulated within the child component
the parent component can only be notified through this.$emit ().
the second way:
use this.$refs.xxx. Method ();
this method of using the parent component to invoke the child component
this can manipulate data within the child component
but the second way is to say there is a problem on the Internet!
could you tell me which way is better?