怎么在隐藏的div中初始化wps,现在大部分文件初始化不成功,并且wps的js报错,显示时一切正常

Viewed 37

<img src="https://solution-community.wps.cn/uploads/post/4Xw5mYtdZum.png" alt="image.png"/> <img src="https://solution-community.wps.cn/uploads/post/4XvPgHKGycS.png" alt="image.png"/> <img src="https://solution-community.wps.cn/uploads/post/4XvP4P1TaVA.png" alt="image.png"/> <img src="https://solution-community.wps.cn/uploads/post/4XvNZ3PBtb9.png" alt="image.png"/>

1 Answers

请问是以什么方式隐藏的?

你好,更新了问题,请看下

display: none 会影响子节点的渲染。 如果是希望正常渲染的话,可以通过绝对定位和设定大小,将其移出可视区域