feat: reduce module depth limit from 3 to 2

This commit is contained in:
CaptainB 2025-04-27 10:46:34 +08:00
parent bb4b35bfe8
commit b1d13f501f

View File

@ -25,7 +25,7 @@ def get_module_type(source):
return None
MODULE_DEPTH = 3 # Module 不能超过3层
MODULE_DEPTH = 2 # Module 不能超过3层
def check_depth(source, parent_id, current_depth=0):