Commit 633588d0 by BellCodeEditor

auto save

parent a2181baf
Showing with 1 additions and 0 deletions
......@@ -86,6 +86,7 @@ def register(): # 注册验证
content = json.dumps(users)
with open("user.txt", "w", encoding="utf-8") as file: # "w"每次写入都覆盖原来的内容
file.write(content)
# 注册成功,跳往登陆界面
messagebox.showinfo("成功", "注册成功")
reg_to_login()
......
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 sign in to comment