refactor: 网站设置 MVC 切换设置提示框内容

This commit is contained in:
Argo Zhang 2020-01-24 10:32:46 +08:00
parent 425d4ce180
commit f0bf03b368
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ namespace Bootstrap.Pages.Admin.Components
protected void SaveBlazor()
{
var ret = DictHelper.SaveSettings(new BootstrapDict[] { new BootstrapDict() { Category = "网站设置", Name = "Blazor", Code = Model.EnableBlazor ? "1" : "0" } });
if (Model.EnableBlazor) ShowMessage("Blazor 设置保存", ret);
if (Model.EnableBlazor) ShowMessage("MVC 切换设置保存", ret);
// 根据保存结果隐藏 Header 挂件
if (ret) RootLayout?.JSRuntime?.ToggleBlazor(Model.EnableBlazor);