diff --git a/src/client/Bootstrap.Client/Models/ModelBase.cs b/src/client/Bootstrap.Client/Models/ModelBase.cs index 63117b9b..98a81dbf 100644 --- a/src/client/Bootstrap.Client/Models/ModelBase.cs +++ b/src/client/Bootstrap.Client/Models/ModelBase.cs @@ -17,8 +17,14 @@ namespace Bootstrap.Client.Models Title = DictHelper.RetrieveWebTitle(AppId); Footer = DictHelper.RetrieveWebFooter(AppId); Theme = DictHelper.RetrieveActiveTheme(); + IsDemo = DictHelper.RetrieveSystemModel(); } + /// + /// 是否为演示系统 + /// + public bool IsDemo { get; protected set; } + /// /// 获得 应用程序标识 /// diff --git a/src/client/Bootstrap.Client/Views/Shared/Footer.cshtml b/src/client/Bootstrap.Client/Views/Shared/Footer.cshtml index 7b8a5232..396d3687 100644 --- a/src/client/Bootstrap.Client/Views/Shared/Footer.cshtml +++ b/src/client/Bootstrap.Client/Views/Shared/Footer.cshtml @@ -1,6 +1,6 @@ @model ModelBase