提交 c3ebdad2 编写于 作者: 颜交广 提交者: Gitee

update docs/vue-vuex.md.

上级 2bb3d42b
...@@ -197,7 +197,7 @@ Vue.use(Vuex);//vue的插件机制 ...@@ -197,7 +197,7 @@ Vue.use(Vuex);//vue的插件机制
//Vuex.Store 构造器选项 //Vuex.Store 构造器选项
const store = new Vuex.Store({ const store = new Vuex.Store({
state:{//存放状态 state:{//存放状态
"username":"foo" "username":"foo",
"age":18 "age":18
} }
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册