vue常用的方法
vue生命周期常用的8个勾子函数
初始化显示
*beforeCreate()
*created()
*beforeMount()
*mounted() 更新状态:this.xxx=value
*beforeUpdate()
*updated() 销毁 vue 实例:vm.$destory()
*beforeDestory()
*destoryed()

文章学习自
https://blog.csdn.net/Guo1111122/article/details/101629194