预缓存实用程序改动
This commit is contained in:
@@ -188,6 +188,7 @@ class FillBlank(Composition):
|
||||
yield Button("退格", id=self.regid(f"delete"))
|
||||
|
||||
def handler(self, event, type_):
|
||||
# TODO: 改动:在线错误纠正
|
||||
if type_ == "button":
|
||||
if self.recid(event.button.id) == "delete":
|
||||
if len(self.inputlist) > 0:
|
||||
@@ -293,4 +294,4 @@ class AppLauncher(App):
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = AppLauncher()
|
||||
app.run()
|
||||
app.run()
|
||||
|
Reference in New Issue
Block a user