The above is just a suggestion, if you feel that it is reasonable to adopt.
Understand what you mean, but I want to design as generic as possible, because the method name I can find a way to translate, which can greatly reduce the repetitive design and development. Anyway, thank you!
I mean, can you add an identifier field to the audit log? When an audit log is based on a single data operation (such as create, modify, delete, etc.), the ID is taken by default. In this case, for some specific scenarios, it is very simple to track which data is modified under certain circumstances.
If my realize it myself, it is very winding. For example, I want to see all the audit logs (operation records, etc.) of this data, but these audit logs are saved in the global audit log and are not identified.
Well done! I am very excited to see this news.
I get NJsonSchema source code from github,and change DateTimeToStringCode is "format()".Build and cover related library. Currently, only this temporary solution is used.
I have to use AppService fix it.
I give up this way,I had to override the OnActionExecuting method inside the controller .
But,How to set it in AbpModuleās PreInitialize methond?
I has order it in " _UserMenuItem.cshtml" and "Default.cshtml":
<ul class="sub-menu">
@{var items = Model.MenuItem.Items.OrderBy(p => p.Order).ToList();}
@for (var i = 0; i < items.Count; i++)
{
var childMenuItem = items[i];
@Html.Partial("Components/AdminSideBar/_UserMenuItem", new UserMenuItemViewModel
{
MenuItem = childMenuItem,
MenuItemIndex = i,
CurrentPageName = Model.CurrentPageName,
RootLevel = false
})
}
</ul>