Uniapp click the full screen to close the popover, click the popover does not close its own requirements
Implementation code parent level to achieve full screen positioning and click events closeMsg
closeMsg:function(e){ if(e.target.id! Id ===" parent id" this.showLevel = false; }}
` ``closeMsg:function(e){ console.log(e) if(e.target.id! =undefined&&e.target.id===" parent id"){this.showLevel = false; }}Copy the code