给整个网页背景document添加单击click事件,解决下拉菜单隐藏问题
onMounted(() => {标签:单击,Vue3,网页背景,添加,addEventListener,document,click From: https://blog.51cto.com/u_15654527/5873030
// document.addEventListener('click', function(){alert('body1')})
document.addEventListener('click',noSeeAll)
})