From 45bb448c278ccca6e8262cae05fbb532a72c7589 Mon Sep 17 00:00:00 2001 From: Jerry <610819267@qq.com> Date: Tue, 6 Apr 2021 15:52:06 +0800 Subject: [PATCH] docs: state.md (#422) Fix typo --- docs/core-concepts/state.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core-concepts/state.md b/docs/core-concepts/state.md index 98a805c5..3ca8e166 100644 --- a/docs/core-concepts/state.md +++ b/docs/core-concepts/state.md @@ -40,7 +40,7 @@ store.$patch({ }) ``` -The `$path` method also accepts a function to group object mutations that are difficult to apply with an object, e.g. array mutations: +The `$patch` method also accepts a function to group object mutations that are difficult to apply with an object, e.g. array mutations: ```js cartStore.$patch((state) => { -- 2.47.3