Skip to content

Commit 57beb05

Browse files
committed
updata README
1 parent 56845fa commit 57beb05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## 判断是否网络断了
22

3+
此方法是通过 `online``offline` 事件来侦听是否断网,但是这个在 `IE ``Firefox` 中,并非断网了就是真的断网了。(如火狐中在选择 `菜单>>文件>>脱机工作`才会触发 `online``offline` 事件)
4+
5+
总之在`IE``Firefox`中一般情况下不能触发这俩事件,只有在选择脱机状态下才能触发此事件。
6+
37
### 设置轮询时间和地址
48

59
> `time` 设置轮询时间

0 commit comments

Comments
 (0)