提交 9305a517 编写于 作者: G Guillaume Chau

fix: vuex throws warning when editing state in strict mode, closes #757

上级 793a97b0
......@@ -178,7 +178,9 @@ export function initVuexBackend (hook, bridge) {
if (value) {
parsedValue = parse(value, true)
}
store._committing = true
set(store.state, path, parsedValue)
store._committing = false
bridge.send('vuex:inspected-state', {
index,
snapshot: getSnapshot()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册