浏览代码

docs: Add missing word. (#1643)

Makes the flow of reading nicer.
Ben Hutton 5 年之前
父节点
当前提交
ba2ff3a3de
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/guide/modules.md

+ 1 - 1
docs/guide/modules.md

@@ -301,7 +301,7 @@ You can also remove a dynamically registered module with `store.unregisterModule
 
 It may be likely that you want to preserve the previous state when registering a new module, such as preserving state from a Server Side Rendered app. You can achieve this with `preserveState` option: `store.registerModule('a', module, { preserveState: true })`
 
-When you set `preserveState: true`, the module is registered, actions, mutations and getters are added to the store, but the state not. It's assumed that your store state already contains state for that module and you don't want to overwrite it.
+When you set `preserveState: true`, the module is registered, actions, mutations and getters are added to the store, but the state is not. It's assumed that your store state already contains state for that module and you don't want to overwrite it.
 
 ### Module Reuse