Explorar o código

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

add one important missing line
Evan You %!s(int64=9) %!d(string=hai) anos
pai
achega
a9c6aaa2e4
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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
     }