Vue knowledge finishing 2: Vue life-cycle approach

During execution vue, commonly used methods can be divided into beforeCreate, created, BeforeMount, mounted, BeforeUpdate, updated, etc., as shown in FIG.

In addition, by looking at the official documentation , there are a number of life-cycle approach:

https://cn.vuejs.org/v2/api/

 

 

Guess you like

Origin www.cnblogs.com/KKSoft/p/11618495.html