更新组件,兼容IE11
This commit is contained in:
@@ -10,6 +10,7 @@ using XCode;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Newtonsoft.Json;
|
||||
using COMCMS.Web.Common;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace COMCMS.Web.Areas.AdminCP.Controllers
|
||||
{
|
||||
@@ -61,6 +62,9 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
|
||||
ViewBag.contentPath = _env.ContentRootPath;
|
||||
ViewBag.rootPath = _env.WebRootPath;
|
||||
|
||||
Admin admin = Admin.GetMyInfo();
|
||||
ViewBag.admin = admin;
|
||||
|
||||
return View();
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user