可以在数据赋值之后使用nextTick updataData () { this.items = [1, 2, 3] this.$nextTick(() => { // do something while rendered }) }
可以在数据赋值之后使用nextTick