This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nezha-fronted/nezha-fronted/src/components/common/js/common.js

11 lines
325 B
JavaScript
Raw Normal View History

export function resetZIndex(e){
let popId=e.target.getAttribute('aria-describedby');//这里获取的属性 在包含slot='reference'
if(!popId){
popId=e.target.parentNode.getAttribute('aria-describedby');
}
let pop=document.getElementById(popId);
setTimeout(function(){
pop.style.zIndex=999999;
},100)
}