go-sciter icon indicating copy to clipboard operation
go-sciter copied to clipboard

SetHtml() 大概20分钟后失效

Open workyu opened this issue 3 years ago • 4 comments

我有一个传感器显示项目 传感器数据3秒一次, 每3秒执行一次SetHtml()方法 开始一切正常 大概20分钟后,SetHtml()方法失效,没有有任何错误信息,但是UI界面不会改变

workyu avatar May 06 '21 06:05 workyu

具体原因并不清楚,但是已经解决了 解决方法: 在html加入如下代码即可 self.timer(1000, function() { return true });

workyu avatar May 07 '21 08:05 workyu

English, please?

pravic avatar May 08 '21 06:05 pravic

@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 这个库是有问题吗?我试了好久都没跑起来

Ptr147 avatar Aug 14 '21 15:08 Ptr147

@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

zpfz avatar Aug 18 '21 12:08 zpfz