问题描述
我知道这是重复的,但是我无法复制适用于我的解决方案。我正在将Angular 10与TS一起使用。我在Mat-Dialog的上下文中的转盘中有一个iFrame。
using System;
using System.Web;
using System.Web.Profile;
public class AccountProfile : ProfileBase
{
static public AccountProfile CurrentUser
{
get
{
return (AccountProfile)Create(HttpContext.Current.User.Identity.Name);
}
}
[SettingsAllowAnonymous(false)]
public string MyStaffCode
{
get { return (string)base["MyStaffCode"]; }
set { base["MyStaffCode"] = value; Save(); }
}
}
iFrame引起了问题。 其他解决方案,例如:
<iframe
id="myFrame"
class="my-iFrame"
width="100%"
[src]="card.embedded_link"
></iframe>
我无法正常工作。这个解决方案对我来说很模糊。
我不明白应该是什么样的手柄?
这行代码是否要添加到OnInit?
“ this.element”是否指向iFrame?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)