Closed yee94 closed 6 years ago
That was because isShow
is not an mobx observable and we don't track the updating by vue watchers.
To solve that U can move isShow
to TestMobx
as an observable.
BTW, we suggest using mobx to manage your state, since you had chosen mobx😄.
Fixed and released v2.0.4 @xiaobebe
Even so, we still suggest using mobx to manage app state rather than vue native data, as best practice.
tku !!
当模板渲染加入v-if后,Dom响应会失效。
页面理论应该在2000后显示 {x:1} ,可是一直会停在{x:0}