##################################鈎子函數:
beforeCreate()
實例初始化自動調用
created()
實例創建后調用
beforeMount()
在mount之前運行,元素已經加載,但是 屬性值沒渲染
mounted()
在編譯結束時調用,加載完成
beforeUpdate()
在實例掛載后,再次更新實例時調用,屬性值未渲染
updated()
在實例掛載之后,再次更新實例並更新完DOM
結構后調用,屬性值修改后
beforeDestroy()
在開始銷毀實例時調用
destroyed()
在實例銷毀后調用
actived()
在動態組件初始化渲染的過程中調用
deactived()
在動態組件移除的過程中調用
寫在 new Vue({里面})

