Commit 6ef612ec authored by liuzhaoh's avatar liuzhaoh

增加刷新页面定时

parent 99689b60
...@@ -747,6 +747,7 @@ const cancelRefreshEvent = () => { ...@@ -747,6 +747,7 @@ const cancelRefreshEvent = () => {
} }
// 取消鼠标事件 // 取消鼠标事件
const cancelAllMouseEvent = () => { const cancelAllMouseEvent = () => {
clearTimeout(refreshTimer);
dustBox.value.removeEventListener("mousemove", cancelRefreshEvent) dustBox.value.removeEventListener("mousemove", cancelRefreshEvent)
dustBox.value.removeEventListener("mousedown", cancelRefreshEvent) dustBox.value.removeEventListener("mousedown", cancelRefreshEvent)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment