ad6c940b by 杨威

每次添加层户后重新渲染楼盘表

1 parent 85537b8f
......@@ -47,7 +47,7 @@
</div>
<!-- 楼盘表主体 -->
<div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }">
<lpbContent ref="lpbContent"></lpbContent>
<lpbContent ref="lpbContent" :key="time"></lpbContent>
</div>
<!-- 右侧图例 -->
<div class="lp-legend">
......@@ -229,6 +229,7 @@ export default {
legendToggleFlag: false,
lpbContentHight: "",
lpbContentwidth: "",
time:''
};
},
created() {
......@@ -357,8 +358,11 @@ export default {
},
//调用楼盘表信息查询接口
getlpbData(){
this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm)
this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm);
//改变楼盘表子组件的key值,重新渲染
this.time = new Date().getTime();
},
//实预测装换
plScYcChange(){
let data={
zrzbsm:this.$store.state.zrzbsm,
......