【优化】优化新版treeTable下商品分类及菜单导航树形表格模式的排序问题。

【发布】发布0.7.0版本
This commit is contained in:
jianweie
2023-05-08 14:25:39 +08:00
parent 514c63da60
commit a83abb2e26
13 changed files with 46 additions and 23 deletions

View File

@@ -74,7 +74,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
//获取数据
var list = await _coreCmsGoodsCategoryServices.QueryListByClauseAsync(p => p.id > 0, p => p.sort, OrderByType.Asc, true, true);
//返回数据
jm.data = list;
jm.data = GoodsHelper.GetTree(list,false).data;
jm.code = 0;
jm.msg = "数据调用成功!";
return jm;