书源的脚本注入可以用Promise么? #3641
Replies: 2 comments
-
webview注入js 30s超时 |
Beta Was this translation helpful? Give feedback.
0 replies
-
你不要做延时啊,阅读会多次执行这个js直到有结果返回 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
看起来用Promise就会超时
比如:
--http://localhost:8000/chinadaily.html,{'webView':true}
如果 await 那就会JS超时,怎么用这个Promise等个事件?订阅源里是可以用Promise的, ,{'webView':true} 和订阅源的浏览器,还会有什么区别么?
Beta Was this translation helpful? Give feedback.
All reactions