我正在使用Iframes来呈现嵌入的Docusign文档。我已经成功地在Iframe中签署了文档,并在签署后重定向到指定的URL。
但是,重定向的URL显示在Iframe内部。我需要打破Iframe并显示在父页面中。
我尝试了以下代码片段,但都没有成功。
1) 在iframe标记中使用th:target="_parent"
2) if (top !== self) top.location.href = self.location.href;
但是,重定向的URL显示在Iframe内部。我需要打破Iframe并显示在父页面中。
我尝试了以下代码片段,但都没有成功。
1) 在iframe标记中使用th:target="_parent"
2) if (top !== self) top.location.href = self.location.href;