关于nextTick

1.nextTick是在所有东西执(onload)行完之后,最后执行的
2.想要获取更新后的dom可以使用 this.$nextTick
3.想在beforeCreate.created.beforeMount中获取dom可以使用$nextTick

posted @ 2024-03-09 14:05  zongkm  阅读(7)  评论(0编辑  收藏  举报