首页 > TAG信息列表 > tanKuang

vue中点击其他任意位置关闭弹框

mounted() { //点击任意位置关闭区域弹窗 document.addEventListener('click', (e) => { //获取弹窗对象 const userCon = document.getElementsByClassName('tanKuang')[0]; const userCon1 = document.getEl