Vue this.$nextTick()

在时间钩子里使用 this.$nextTick() 可以等待 dom 生成以后再来获取 dom对象

posted @ 2021-11-19 23:57  海胆Sur  阅读(10)  评论(0)    收藏  举报  来源