d1a0f247 by 杨威

构筑物右键菜单关闭

1 parent faefdea0
......@@ -202,6 +202,13 @@ export default {
document.body.removeEventListener("click", this.closeMenu);
}
},
gzwVisible(value) {
if (value) {
document.body.addEventListener("click", this.closeMenu);
} else {
document.body.removeEventListener("click", this.closeMenu);
}
},
// createVisible(value) {
// if (value) {
......@@ -379,7 +386,7 @@ export default {
closeMenu(){
this.lpbvisible = false;
this.dzVisible = false;
// this.createVisible = false;
this.gzwVisible = false;
},
//楼盘表右键菜单项打开父组件弹框
openLpbDialog(type){
......