使用ajax轮询做实时数据更新
摘要:1、将需要刷新的页面数据片段单独做出来 2、在原始页面中使用ajax轮询,每2秒请求一次,将请求得到的页面片段放入原始页面中对应的位置 3、调整完善页面样式
阅读全文
posted @ 2018-04-15 14:20
posted @ 2018-04-15 14:20
posted @ 2017-12-13 15:12
posted @ 2017-12-02 21:23
posted @ 2017-12-02 15:57