摘要: nextTick: 当数据改变时,dom元素不会立即改变,获取更新后的DOM。 Vue.nextTick(funciton(){}) vm.$nextTick(function(){}) vm.$nextTick().then(); 没有提供回调函数且支持Promise环境中,则返回一个 Promi 阅读全文
posted @ 2020-02-19 20:52 铁塔 阅读(121) 评论(0) 推荐(0) 编辑