diff --git a/projects/Platform/Controllers/HomeController.cs b/projects/Platform/Controllers/HomeController.cs
index f1f4359c..3e476d11 100644
--- a/projects/Platform/Controllers/HomeController.cs
+++ b/projects/Platform/Controllers/HomeController.cs
@@ -43,6 +43,11 @@ namespace Platform.Controllers
return View();
}
+ public IActionResult Test()
+ {
+ return View();
+ }
+
public IActionResult Building(HomeModel model)
{
var userOrganId = User.GetOrganId().Value;//当前用户机构Id
diff --git a/projects/Platform/Platform.csproj b/projects/Platform/Platform.csproj
index 84660cd9..ca53ad3d 100644
--- a/projects/Platform/Platform.csproj
+++ b/projects/Platform/Platform.csproj
@@ -17,4 +17,10 @@
+
+
+ true
+ PreserveNewest
+
+
diff --git a/projects/Platform/Views/Home/Index.cshtml b/projects/Platform/Views/Home/Index.cshtml
index e2b6cb04..8e1e4fd4 100644
--- a/projects/Platform/Views/Home/Index.cshtml
+++ b/projects/Platform/Views/Home/Index.cshtml
@@ -66,59 +66,4 @@
此处显示设备种类、数量的统计信息,显示定时器和触发器的统计信息,考虑按机构显示
-
-@section scripts{
-
-
-
-
-
-}
\ No newline at end of file
+
\ No newline at end of file
diff --git a/projects/Platform/Views/Home/Test.cshtml b/projects/Platform/Views/Home/Test.cshtml
new file mode 100644
index 00000000..976c573f
--- /dev/null
+++ b/projects/Platform/Views/Home/Test.cshtml
@@ -0,0 +1,23 @@
+@section scripts{
+
+}
\ No newline at end of file
diff --git a/projects/Platform/Views/Shared/_Layout.cshtml b/projects/Platform/Views/Shared/_Layout.cshtml
index b08dd3e5..d8466a27 100644
--- a/projects/Platform/Views/Shared/_Layout.cshtml
+++ b/projects/Platform/Views/Shared/_Layout.cshtml
@@ -185,7 +185,18 @@
@**@
+
+
+
+
+
@RenderSection("scripts", required: false)
+