Commit 966352fb by BellCodeEditor

save project

parent c2e1933e
Showing with 8 additions and 1 deletions
import tkinter
from tkinter import messagebox
import json
def login_to_reg(): # 登录界面转注册界面
app_login.root.destroy()
......@@ -13,7 +15,12 @@ def reg_to_login(): # 注册界面转登录界面
app_login.show()
def register(): # 注册验证
pass
name,password1,password2 = app_reg.get_input()
if name == "" or password1 == "" or password2 == "":
messagebox.showwarning("警告","请填写完整的用户资料")
# elif name in users:
# messagebox.showwarning("错误","")
def login(): # 登录验证
pass
......
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