多标签页初步

This commit is contained in:
2024-08-01 12:41:14 +08:00
parent d902a6df65
commit 88d449d3f4
5 changed files with 159 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ def set_value(key :str, value):
""" 获得一个全局变量,不存在则返回默认值 """
def get_value(key, defValue=None):
try:
print(_global_dict[key])
return _global_dict[key]
except KeyError:
return defValue