Commit 496aa6f4 by BellCodeEditor

save project

parent f7b3588d
Showing with 3 additions and 2 deletions
......@@ -95,6 +95,7 @@ def login(): # 登录验证
pwd = users.get(name)
if pwd == password:
messagebox.showinfo("成功", "登录成功")
app_login.root.destroy()
else:
messagebox.showwarning("错误", "用户名或密码错误!")
......
{"admin": "admin", "python": "123456"}
\ No newline at end of file
{"admin": "admin", "python": "123456", "123": "123"}
\ No newline at end of file
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