vue的$nextTick的优化-cnblog

  • 原理:this.$nextTick(函数体)返回的是一个promise对象
  • 可以使用async/await 简化操作

posted @ 2023-02-04 15:04  凌歆  阅读(20)  评论(0)    收藏  举报