自定义表单bug修复
This commit is contained in:
@@ -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 原来的树
|
||||
|
||||
Reference in New Issue
Block a user