问题描述:
问题解决:
有以下几种情况:
1、页面文件存在,请求的URL路径错误
2、页面文件不存在
3、页面文件存在,请求的URL路径没问题,但是没有在UserController文件中注册DepartmentUserTreeForm的路由。
解决办法:
在UserController文件中加入以下代码。
[HttpGet]
public ActionResult DepartmentUserTreeForm()
{
return View();
}
有以下几种情况:
1、页面文件存在,请求的URL路径错误
2、页面文件不存在
3、页面文件存在,请求的URL路径没问题,但是没有在UserController文件中注册DepartmentUserTreeForm的路由。
解决办法:
在UserController文件中加入以下代码。
[HttpGet]
public ActionResult DepartmentUserTreeForm()
{
return View();
}