diff --git a/apps/utils/get_project_tree.py b/apps/utils/get_project_tree.py index 5a318db..7f3f234 100644 --- a/apps/utils/get_project_tree.py +++ b/apps/utils/get_project_tree.py @@ -21,7 +21,7 @@ class ProjectTree: dirs.append(file) else: files.append(file) - return dirs,files + return sorted(dirs,key=str.lower),sorted(files,key=str.lower) #####生成节点树########## def genetree(self,path,parentdirs,project_name,project_id): diff --git a/dump.rdb b/dump.rdb index f446fc2..e740f16 100644 Binary files a/dump.rdb and b/dump.rdb differ