跳出循环

master 0.6.0
yutent 2023-09-08 17:50:10 +08:00
parent 89717b4019
commit 6e0beb6a66
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +253,7 @@ class WebEngine(WebKit2.WebView):
for child in self.children: for child in self.children:
if child.uuid == uuid: if child.uuid == uuid:
child.evaluate_javascript(scripts, -1) child.evaluate_javascript(scripts, -1)
break
return return
case 'window': case 'window':