From: new1333 <76203329+new1333@users.noreply.github.com> Date: Tue, 1 Mar 2022 10:10:18 +0000 (+0800) Subject: docs: Update actions.md (#1103) X-Git-Tag: @pinia/testing@0.0.10~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20ab8b1b51af560743bee47eaaaa83e460c2f4c4;p=thirdparty%2Fvuejs%2Fpinia.git docs: Update actions.md (#1103) --- diff --git a/packages/docs/core-concepts/actions.md b/packages/docs/core-concepts/actions.md index 833e62ff..a627e22f 100644 --- a/packages/docs/core-concepts/actions.md +++ b/packages/docs/core-concepts/actions.md @@ -147,8 +147,8 @@ export default { }, methods: { incrementAndPrint() { - counterStore.increment() - console.log('New Count:', counterStore.count) + this.counterStore.increment() + console.log('New Count:', this.counterStore.count) }, }, }