jim

Results 13 comments of jim

我们在获取一个数据的时候,比如 this.msg 并是不直接去 this._data.msg 上取,而是先创建一个watcher,然后通过 watcher.value来取 ------ 这个是针对computed来说的。 data 上面声明的属性并不是取watcher.value, 事实上所有data 声明的属性都会关联初始化声明的那个watcher 用来渲染视图的, watcher.value 是undefined

我理解的vuex 只是给所有的vue 实例添加了$store的引用而已。 因为vue自带了响应式系统,直接修改state也能实现功能, actions, mutations 是为了devtools 追踪状态变化。 (不知道这样理解对不对)。想听下大佬的看法。😂

看了一下源码 确实是创建了一个vue实例来实现, 但是actions 和 mutations 这点的话意图并不是这样的。可以看尤大的回答:https://www.zhihu.com/question/48759748/answer/112823337。

we find root cause is: Disable PowerShell in Windows 10 using Local Security Policy

> How can disabling PS help to resolve this issue? I mean when user 'Disable PowerShell in Windows 10 using Local Security Policy' will throw this error

https://www.itechtics.com/disable-powershell/