Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
在ui以及悬窗的事件操作函数中,不能直接使用长时间for运行的函数,以及sleep操作,需要把这个代码放到线程中,然后事件去启动这个线程。