自定义表单bug修复

This commit is contained in:
2017-10-04 10:14:28 +08:00
parent 679f2e9310
commit ef5d7747aa
3 changed files with 66 additions and 2 deletions

View File

@@ -533,6 +533,17 @@ function list_to_tree($list, $pk = 'id', $pid = 'pid', $child = '_child', $root
return $tree;
}
/**
* 获取父树列表
*
*/
function get_parent_tree($id = ''){
if ($id) {
return array();
}
}
/**
* 将list_to_tree的树还原成列表
* @param array $tree 原来的树