fix: 调整变量顺序,更加直观

This commit is contained in:
Aqr-K
2025-01-05 17:07:11 +08:00
parent 704dcf46d3
commit 261bb5fa81
3 changed files with 4 additions and 4 deletions

View File

@@ -770,7 +770,7 @@ class StringUtils:
return result
@staticmethod
def compare_version(v1: str, v2: str, compare_type, verbose: bool = False) \
def compare_version(v1: str, compare_type: str, v2: str, verbose: bool = False) \
-> Tuple[Optional[bool], str | Exception] | Optional[bool]:
"""
比较两个版本号的大小