javascript - 每次单击时都重新加载 iframe 链接?
问题描述
它将将此 routerLink 和 queryParams 传递给另一个组件中的 iframe,并且该 iframe 将加载另一个网站的主页。用户可以通过单击该主页内的按钮或链接进一步进入该 iframe。
当用户再次单击此链接并将 iframe 重新加载到主页时,有没有办法?
目前,如果用户已经在此 iframe 中,则此链接不可点击,无论是在 iframe 主页上还是在 iframe 主页内的其他子页面上。
<li data-toggle="collapse" class="nav-link1 pda">
<a class="nav-link"
routerLink="/financial-tool"
[queryParams]="application_data"
[routerLinkActive]="['active']">
<span class="pcoded-micon"><i class="fas fa-landmark"></i></span>
<span class="pcoded-mtext font-12">Applications</span>
</a>
</li>
基本上,我想通过单击此链接来刷新 iframe。如果有人能给我一些提示,我将不胜感激,谢谢。
解决方案
推荐阅读
- java - Java Textio 文件添加
- python - 如何从美丽汤中的a类中提取href?
- swift - 切换 swiftUI toggle() 时如何触发操作?
- svg - 在 SVG 的 X 轴上添加上标和下标
- python - 我的代码中出现 TypeError:不支持的操作数类型 for ^: 'bytes' and 'bytes'
- regex - 在 Google 表格中使用 ARRAYFORMULA 计算 ARRAYS 中的单词
- ionic-framework - 如何在 ionic 4 中隐藏滚动标题?
- python - 不带加号的科学记数法
- powerbi - 如何防止在矩阵视觉中总结子类别的值
- javascript - 酵素的浅层是渲染孩子的孩子?