Browse Source

fix translation (#836)

Liangzhen Zhu 7 years ago
parent
commit
009f4f9a8d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/zh-cn/modules.md

+ 1 - 1
docs/zh-cn/modules.md

@@ -239,7 +239,7 @@ store.registerModule(['nested', 'myModule'], {
 - 创建多个 store,他们公用同一个模块
 - 在一个 store 中多次注册同一个模块  
 
-如果我们使用一个纯对象来声明模块的状态,那么这个状态对象会通过引用被共享,导致状态对象被修改时 store 或模块间数据互相污染的问题。
+如果我们使用一个纯对象来声明模块的状态,那么这个状态对象会通过引用被共享,导致状态对象被修改时 store 或模块间数据互相污染的问题。
 
 实际上这和 Vue 组件内的 `data` 是同样的问题。因此解决办法也是相同的——使用一个函数来声明模块状态(仅 2.3.0+ 支持):