]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: Update actions.md (#1103)
authornew1333 <76203329+new1333@users.noreply.github.com>
Tue, 1 Mar 2022 10:10:18 +0000 (18:10 +0800)
committerGitHub <noreply@github.com>
Tue, 1 Mar 2022 10:10:18 +0000 (11:10 +0100)
packages/docs/core-concepts/actions.md

index 833e62ffac771341a19237d41a0ffa500d130c4a..a627e22f0b0ee63df73da501ba74c6f4a9baea63 100644 (file)
@@ -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)
     },
   },
 }