Layman

Results 5 comments of Layman

I found that was because the animation completion block not been called, if dragging too fast or too often, and then transition did no clean works. I add a timer...

``` bar.set(10); // 不触发 autorun counter.set(1); // 触发 autorun foo.set(100); // 不触发 autorun bar.set(100); // 触发 autorun 执行结果: foo 0 bar 10 bar 100 ``` bar.set(10); 会触发 autorun,输出foo 0 吧??