From: Jerry <610819267@qq.com> Date: Tue, 6 Apr 2021 07:52:06 +0000 (+0800) Subject: docs: state.md (#422) X-Git-Tag: v2.0.0-alpha.11~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45bb448c278ccca6e8262cae05fbb532a72c7589;p=thirdparty%2Fvuejs%2Fpinia.git docs: state.md (#422) Fix typo --- 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) => {