Commit a23f0e2c by BellCodeEditor

auto save

parent c0ef68cc
Showing with 2 additions and 2 deletions
......@@ -16,8 +16,8 @@ def reg_to_login(): # 注册界面转登录界面
app_login = My_login()
app_login.show()
def register(): # 注册验证
name,password1,password2=app_reg.get_input()
if name=='' and password1=='' and password2=='':
name,password1,password2,shouji=app_reg.get_input()
if name=='' and password1=='' and password2=='' and shouji=='':
messagebox.showwarning("警告","请填写完整")
elif name in user:
messagebox.showwarning("警告","用户以存在")
......
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