Commit f6c70edc by BellCodeEditor

save project

parent 4e1b8e57
Showing with 9 additions and 0 deletions
......@@ -9,3 +9,11 @@ button1.place(x=230,y=250)
button2 = tkiter.Button(self.root, text='取消'bg="lghtblue",
width=15,command=reg_to_login)
button22.place(x=80,y=250)
def login():
name,password = app_login.get_input()
pwd = users.get(name)
if pwd == password:
info("成功""登录成功")
else
messagebox.showwarning("fg")
\ 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