You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The merge strategy receives the value of that option defined on the parent and child instances as the first and second arguments, respectively. The context Vue instance is passed as the third argument.
-**Default:**`true` (`false` in production builds)
53
+
-**默认值:**`true` (生产版为 `false`)
54
54
55
-
-**Usage:**
55
+
-**用法:**
56
56
57
57
```js
58
-
//make sure to set this synchronously immediately after loading Vue
58
+
//务必在加载 Vue 之后,立即同步设置以下内容
59
59
Vue.config.devtools=true
60
60
```
61
61
62
-
Configure whether to allow [vue-devtools](https://github.com/vuejs/vue-devtools)inspection. This option's default value is `true` in development builds and `false` in production builds. You can set it to `true`to enable inspection for production builds.
Copy file name to clipboardExpand all lines: src/guide/state-management.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -75,4 +75,4 @@ var vmB = new Vue({
75
75
76
76
接着我们继续延伸约定,组件不允许直接修改属于 store 实例的 state,而是应该使用分发 (dispatch) 事件通知 store 执行 action 作为替代,我们最终达成了 [Flux](https://facebook.github.io/flux/) 架构。这样约定的好处是,我们能够记录所有 store 中发生的 state 改变,同时实现能做到记录变更 (mutation) 、保存状态快照、历史回滚/时光旅行的先进的调试工具。
0 commit comments