浏览代码

docs: change `funciton` to `method` (#2043)

Yukon123 3 年之前
父节点
当前提交
c0bad80e9c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/guide/composition-api.md

+ 1 - 1
docs/guide/composition-api.md

@@ -37,7 +37,7 @@ export default {
 
 ## Accessing Mutations and Actions
 
-When accessing mutations and actions, you can simply provide the `commit` and `dispatch` function inside the `setup` hook.
+When accessing mutations and actions, you can simply provide the `commit` and `dispatch` method inside the `setup` hook.
 
 ```js
 import { useStore } from 'vuex'