Browse Source

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

add one important missing line
Evan You 9 năm trước cách đây
mục cha
commit
a9c6aaa2e4
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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
     }