vue life cycle:
1. beforeCreate () Create the component;
2. Created () created;
3. beforeMounte () before the assembly is linked to the CD;
4. Mounted () to complete the assembly linked to the CD;
5. The beforeUpdate () component before update;
6. The Updated ( ) updated after assembly;
7. the beforeDestory () destroyed before assembly;
post 8. destoryed () component destroyed;