点标注属性框pdf浏览

This commit is contained in:
takeshita
2025-11-26 13:51:48 +08:00
parent 7cf0a0a650
commit 2b57f8be2f

View File

@ -62,10 +62,16 @@
for (let i = 0; i < contentElm.length; i++) {
if (i === parseInt(tabindex)) {
contentElm[i].style.display = ''
setTimeout(() => {
contentElm[i].style.width = '100%'
contentElm[i].style.overflow = 'unset'
}, 0);
tabs[i].className = 'DIV-cy-tab-pane-title-p is-active'
}
else {
contentElm[i].style.display = 'none'
contentElm[i].style.width = 0
contentElm[i].style.overflow = 'auto'
tabs[i].className = 'DIV-cy-tab-pane-title-p'
}
}