V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
alphat
V2EX  ›  Vue.js

VUE2 异步更新视图,为什么要在 watcher.update 时创建队列

  •  
  •   alphat · 2021-02-05 19:52:27 +08:00 · 994 次点击
    这是一个创建于 1147 天前的主题,其中的信息可能已经有所发展或是发生改变。
    VUE2 异步更新视图,为什么要在 watcher.update 创建队列,而不是在 defineproperty set 里的 dep.notify() 时,直接创建队列?
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5425 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 08:44 · PVG 16:44 · LAX 01:44 · JFK 04:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.