Skip to content

Commit

Permalink
update url of the Chinese core docs (fix vuejs#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsn committed Feb 8, 2017
1 parent 5b22286 commit 07128aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/zh-cn/state.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Vuex 使用 **单一状态树** —— 是的,用一个对象就包含了全

### 在 Vue 组件中获得 Vuex 状态

那么我们如何在 Vue 组件中展示状态呢?由于 Vuex 的状态存储是响应式的,从 store 实例中读取状态最简单的方法就是在[计算属性](http://vuejs.org.cn/guide/computed.html)中返回某个状态:
那么我们如何在 Vue 组件中展示状态呢?由于 Vuex 的状态存储是响应式的,从 store 实例中读取状态最简单的方法就是在[计算属性](http://cn.vuejs.org/guide/computed.html)中返回某个状态:

``` js
// 创建一个 Counter 组件
Expand Down

0 comments on commit 07128aa

Please sign in to comment.