修改嵌入iframe错误

This commit is contained in:
李超 2023-02-14 15:18:05 +08:00
parent 0ac90648a7
commit 09194dae85
1 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,7 @@ namespace FineUIPro.Web
if (this.CurrUser != null)
{
mainTabStrip.ShowTabHeader = true;
PageContext.RegisterStartupScript("parent.removeActiveTab();");
PageContext.RegisterStartupScript("removeActiveTab();");
}
}
else
@ -610,7 +610,7 @@ namespace FineUIPro.Web
{
this.Tab1.RefreshIFrame();
this.CurrUser.LoginProjectId = this.drpProject.SelectedValue;
PageContext.RegisterStartupScript("parent.removeActiveTab();");
PageContext.RegisterStartupScript("removeActiveTab();");
MenuSwitchMethod(this.CurrUser.LastMenuType);
if (CurrUser.IsOffice.HasValue && CurrUser.IsOffice.Value)