efa4437c by 杨威

修改选中户数据在切换实预测类型时更新不及时问题

1 parent bdd6932c
...@@ -468,6 +468,7 @@ export default { ...@@ -468,6 +468,7 @@ export default {
468 //清空已选中层户 468 //清空已选中层户
469 this.cbsmList = []; 469 this.cbsmList = [];
470 this.bsms = []; 470 this.bsms = [];
471 this.$refs.lpbContent.hbsmList = [];
471 this.$nextTick(()=>{ 472 this.$nextTick(()=>{
472 //户 473 //户
473 this.$refs.lpbContent.$refs.hBsm.forEach(item=>{ 474 this.$refs.lpbContent.$refs.hBsm.forEach(item=>{
...@@ -741,7 +742,7 @@ export default { ...@@ -741,7 +742,7 @@ export default {
741 }, 742 },
742 selectedZt(n){ 743 selectedZt(n){
743 this.legendToggleFlag = true; 744 this.legendToggleFlag = true;
744 } 745 },
745 }, 746 },
746 }; 747 };
747 </script> 748 </script>
......