增加菜单按照目标排序功能
This commit is contained in:
parent
4bdc39015a
commit
f966aa2b9d
|
@ -50,6 +50,9 @@ namespace Bootstrap.Admin.Models
|
|||
case "CategoryName":
|
||||
data = Order == "asc" ? data.OrderBy(t => t.CategoryName) : data.OrderByDescending(t => t.CategoryName);
|
||||
break;
|
||||
case "Target":
|
||||
data = Order == "asc" ? data.OrderBy(t => t.Target) : data.OrderByDescending(t => t.Target);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue