使用this.$nextTick().then()可以获取全最新的DOM。
this.$nextTick().then((vm) => {
vm.$refs[this.currentView].getData(data.houseId);
});
使用this.$nextTick().then()可以获取全最新的DOM。
this.$nextTick().then((vm) => {
vm.$refs[this.currentView].getData(data.houseId);
});