diff --git a/db/MongoDB/Dicts.js b/db/MongoDB/Dicts.js index e2a6858d..06e604c0 100644 --- a/db/MongoDB/Dicts.js +++ b/db/MongoDB/Dicts.js @@ -282,6 +282,12 @@ "Code": "0", "Define": NumberInt(0) }, + { + "Category": "网站设置", + "Name": "Blazor", + "Code": "0", + "Define": NumberInt(0) + }, { "Category": "系统设置", "Name": "默认应用程序", diff --git a/db/MySQL/initData.sql b/db/MySQL/initData.sql index c5cc1483..e07a4ea0 100644 --- a/db/MySQL/initData.sql +++ b/db/MySQL/initData.sql @@ -41,6 +41,9 @@ INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', 'OAuth INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '自动锁屏时长', '30', 0); INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', '自动锁屏', '0', 0); +-- 是否启用 Blazor 默认为 0 未启用 +INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('网站设置', 'Blazor', '0', 0); + -- 时长单位 月 INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '程序异常保留时长', '1', 0); INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '操作日志保留时长', '12', 0); diff --git a/db/Oracle/InitData.sql b/db/Oracle/InitData.sql index 933599ce..7969e8f2 100644 --- a/db/Oracle/InitData.sql +++ b/db/Oracle/InitData.sql @@ -41,6 +41,9 @@ INSERT INTO Dicts (Id, Category, Name, Code, Define) Values (SEQ_DICTS_ID.NEXTVA INSERT INTO Dicts (Id, Category, Name, Code, Define) Values (SEQ_DICTS_ID.NEXTVAL, '网站设置', '自动锁屏时长', '30', 0); INSERT INTO Dicts (Id, Category, Name, Code, Define) Values (SEQ_DICTS_ID.NEXTVAL, '网站设置', '自动锁屏', '0', 0); +-- 是否启用 Blazor 默认为 0 未启用 +INSERT INTO Dicts (Id, Category, Name, Code, Define) Values (SEQ_DICTS_ID.NEXTVAL, '网站设置', 'Blazor', '0', 0); + -- 时长单位 月 INSERT INTO Dicts (Id, Category, Name, Code, Define) Values (SEQ_DICTS_ID.NEXTVAL, '系统设置', '程序异常保留时长', '1', 0); INSERT INTO Dicts (Id, Category, Name, Code, Define) Values (SEQ_DICTS_ID.NEXTVAL, '系统设置', '操作日志保留时长', '12', 0); diff --git a/db/SQLite/InitData.sql b/db/SQLite/InitData.sql index f19655ee..af07047c 100644 --- a/db/SQLite/InitData.sql +++ b/db/SQLite/InitData.sql @@ -41,6 +41,9 @@ INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('网站设置 INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('网站设置', '自动锁屏时长', '30', 0); INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('网站设置', '自动锁屏', '0', 0); +-- 是否启用 Blazor 默认为 0 未启用 +INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('网站设置', 'Blazor', '0', 0); + -- 时长单位 月 INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', '程序异常保留时长', '1', 0); INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', '操作日志保留时长', '12', 0); diff --git a/db/SqlServer/InitData.sql b/db/SqlServer/InitData.sql index 13cb07f8..31757cd1 100644 --- a/db/SqlServer/InitData.sql +++ b/db/SqlServer/InitData.sql @@ -44,6 +44,9 @@ INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'网站设 INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'网站设置', N'自动锁屏时长', N'30', 0) INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'网站设置', N'自动锁屏', N'0', 0) +-- 是否启用 Blazor 默认为 0 未启用 +INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'网站设置', N'Blazor', N'0', 0) + -- 时长单位 月 INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'程序异常保留时长', '1', 0) INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'操作日志保留时长', '12', 0) diff --git a/src/admin/Bootstrap.Admin/BootstrapAdmin.db b/src/admin/Bootstrap.Admin/BootstrapAdmin.db index a7a310c5..ced5c761 100644 Binary files a/src/admin/Bootstrap.Admin/BootstrapAdmin.db and b/src/admin/Bootstrap.Admin/BootstrapAdmin.db differ