js使用iframe 嵌套禅道一直报错
2024-03-15 11:39:57
大方的香菇
|
禅道版本: 代码: <iframe class="ifr" id="ifr" scrolling="no" frameborder="0" sandbox="allow-same-origin allow-top-navigation allow-scripts allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation"></iframe>报错信息: 请教一下是我哪里还少配了吗,还是说禅道本身不允许iframe嵌套的 |
金凯
|
可以在my.php文件中增加一行,取消禁止iframe嵌入试试
$config->xFrameOptions = false; |
1/1
1