go-sciter
go-sciter copied to clipboard
SetHtml() 大概20分钟后失效
我有一个传感器显示项目 传感器数据3秒一次, 每3秒执行一次SetHtml()方法 开始一切正常 大概20分钟后,SetHtml()方法失效,没有有任何错误信息,但是UI界面不会改变
具体原因并不清楚,但是已经解决了
解决方法:
在html加入如下代码即可
self.timer(1000, function() { return true });
English, please?
@workyu He Said:
I have a sensor show project
The sensor acquires data every 3 seconds
I every 3 seconds use SetHtml()
method
Everything is normal at first.
But After 20 minutes,SetHtml()
method invalid, No Any Erorr or Warning Msg.The UI will not change.
I don't know what's going on,But I solved it with the following code
- Add Into html
self.timer(1000, function() { return true });
PS 加一下我QQ:1319926343 这个库是有问题吗?我试了好久都没跑起来
@workyu He Said: I have a sensor show project The sensor acquires data every 3 seconds I every 3 seconds use
SetHtml()
method Everything is normal at first. But After 20 minutes,SetHtml()
method invalid, No Any Erorr or Warning Msg.The UI will not change. I don't know what's going on,But I solved it with the following code
- Add Into html
self.timer(1000, function() { return true });
PS 加一下我QQ:1319926343 这个库是有问题吗?我试了好久都没跑起来
换 sciter.js 的 dll