diff --git a/build.xml b/build.xml index ece99a0..e0ddd53 100644 --- a/build.xml +++ b/build.xml @@ -93,7 +93,7 @@ - + diff --git a/src/main/resources/com/fr/plugin/pack/req.js b/src/main/resources/com/fr/plugin/pack/req.js index a0a76c1..60f4301 100644 --- a/src/main/resources/com/fr/plugin/pack/req.js +++ b/src/main/resources/com/fr/plugin/pack/req.js @@ -11,7 +11,7 @@ // 防抖机制,0.3s无新的data请求,才打包向后端发送。 var requestFunc = BI.debounce(function (config) { - if (count < 6) { + if (count < 2) { // 发送请求时小于6则不打包,还跟之前的一样发 BI.each(handlers, function (wId, handler) { handler.next(config);