Action 提交的是mutation,而不是直接變更狀態。 Action 可以包含任意非同步操作。 export count actions { async nuxtServerInit({ commit }) ...
確定! 回上一頁