Commit fbe1fd89 by BellCodeEditor

auto save

parent 697d0f4b
Showing with 2 additions and 2 deletions
...@@ -31,12 +31,12 @@ def register(): # 注册验证 ...@@ -31,12 +31,12 @@ def register(): # 注册验证
def login(): # 登录验证 def login(): # 登录验证
name,password=app_login.get.input() name,password=app_login.get_input()
pwd=users.get(name) pwd=users.get(name)
if pwd == password: if pwd == password:
messagebox.showinfo('提示','登录成功') messagebox.showinfo('提示','登录成功')
else: else:
messagebox.showinfo() messagebox.showinfo("提示","失败")
class My_login(): # 登录窗口 class My_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