瀏覽代碼

Merge pull request #125 from ryerh/zh-cn-docs-patch

add one important missing line
Evan You 9 年之前
父節點
當前提交
a9c6aaa2e4
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docs/zh-cn/state.md

+ 3 - 1
docs/zh-cn/state.md

@@ -36,7 +36,9 @@ computed: {
 
   var app = new Vue({
     el: '#app',
-    // 使用 "store" 来配置,并会在全部的子组件中注入 store 实例,
+    // 使用 “store” 选项来配置 store 实例
+    // 并会在全部的子组件中注入 store 实例
+    store,
     components: {
       MyComponent
     }