beforeCreate函数=>初始化=>将要创建
created函数=>创建完毕
beforeMount函数=>将要挂载
mounted函数=>挂载完毕
beforeUpdate函数=>将要更新
updated函数=>更新完毕
beforeDestroy函数=>将要销毁
destroyed函数=>销毁完毕
beforeCreate函数=>初始化=>将要创建
created函数=>创建完毕
beforeMount函数=>将要挂载
mounted函数=>挂载完毕
beforeUpdate函数=>将要更新
updated函数=>更新完毕
beforeDestroy函数=>将要销毁
destroyed函数=>销毁完毕