本文我们将介绍如何使用 mutation 。包括如何定义mutation、如何触发mutation、mapMutations 辅助函数的使用方式。 mutation 是更改Vuex 中store 数据状态的唯一方法。
確定! 回上一頁