state:存儲公共數據對象mutation:對state進行各種操作,進行同步操作action:對state進行間接操作,用于提交mutation,進行異步操作getter:用于獲取state,類似于computed屬性module:模塊化