vue中的this.$nextTick().then()

使用this.$nextTick().then()可以获取全最新的DOM。


this.$nextTick().then((vm) => {
    
    
	vm.$refs[this.currentView].getData(data.houseId);
});

おすすめ

転載: blog.csdn.net/weixin_51157081/article/details/121272780