去掉注释

This commit is contained in:
ascend13 2023-09-19 20:43:31 +08:00
parent e440c744d6
commit 53acbdf8ec

View File

@ -170,13 +170,6 @@ export class Modal extends React.Component<ModalProps, ModalState> {
}
handleEnter = () => {
// const mobileUI = this.props.mobileUI;
// if (mobileUI) {
// const iframe = document.querySelector(
// '.ae-PreviewIFrame'
// ) as HTMLIFrameElement;
// iframe.contentWindow?.document.body.classList.add(`is-modalOpened`);
// }
document.body.classList.add(`is-modalOpened`);
if (
window.innerWidth - document.documentElement.clientWidth > 0 ||