Commit 268b83f9 authored by 邱阿朋's avatar 邱阿朋

feat(tool_gui): 清空日志功能

- 在保存日志后添加清空日志的操作- 优化了日志管理流程,提高了日志的可读性和存储效率
parent 0221c74c
...@@ -232,6 +232,9 @@ class VCManagerGUI(ttk.Window): ...@@ -232,6 +232,9 @@ class VCManagerGUI(ttk.Window):
# 保存日志 # 保存日志
self.save_log() self.save_log()
# 清空日志
self.clear_log()
except Exception as e: except Exception as e:
self.log(f"发生错误:{str(e)}") self.log(f"发生错误:{str(e)}")
self.log(traceback.format_exc()) self.log(traceback.format_exc())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment