這樣就完成了,在這邊的dispatch 帶上payload 的方式也跟mutations 很像,除了這樣寫,也可以使用物件: this.$store.dispatch("ClickedActions", {count: ...
確定! 回上一頁