]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: reference error this.counterStore.counter (#1067)
authormasx200 <34191203+masx200@users.noreply.github.com>
Wed, 16 Feb 2022 08:18:58 +0000 (16:18 +0800)
committerGitHub <noreply@github.com>
Wed, 16 Feb 2022 08:18:58 +0000 (09:18 +0100)
packages/docs/core-concepts/state.md

index 7d51d63b5af03fdcaf37db9c3ea222a90971364c..6cb6c5db0a6da6bbbbf3c89d3a75220bbd73f11b 100644 (file)
@@ -79,7 +79,7 @@ export default {
   },
   computed: {
     tripleCounter() {
-      return counterStore.counter * 3
+      return this.counterStore.counter * 3
     },
   },
 }