feat: 树形返回英文名
This commit is contained in:
+1
@@ -205,6 +205,7 @@ public class SysDictItemController {
|
|||||||
tree.putExtra("key", id);
|
tree.putExtra("key", id);
|
||||||
tree.putExtra("value", treeNode.getItemValue());
|
tree.putExtra("value", treeNode.getItemValue());
|
||||||
tree.putExtra("title", treeNode.getItemText());
|
tree.putExtra("title", treeNode.getItemText());
|
||||||
|
tree.putExtra("enTitle", treeNode.getEnName());
|
||||||
});
|
});
|
||||||
|
|
||||||
JSONArray jsonArray = JSONArray.parseArray(JSON.toJSONString(treeNodes,SerializerFeature.WriteMapNullValue));
|
JSONArray jsonArray = JSONArray.parseArray(JSON.toJSONString(treeNodes,SerializerFeature.WriteMapNullValue));
|
||||||
|
|||||||
Reference in New Issue
Block a user