created : Execute before html loading is complete. Execution order: parent component-child component
mounted : Execute after html loading is complete. Execution order: child component-parent component
methods : event method execution
watch : watch is to monitor the change of a value, and then execute the corresponding function.
computed : computed is a calculated attribute, that is, the final value calculated by relying on other attributes