store.dispatch("increment");. 這樣看起來跟mutations 的用法差不多,但是我們要記得mutations 必須是同步執行,而actions 則可以 ...
確定! 回上一頁