From 0b8089b1bf6952912f4a69fdf19a9d458d0c9683 Mon Sep 17 00:00:00 2001 From: "Zhenfei.Li" Date: Wed, 2 Dec 2020 11:00:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=A4=E4=B8=AA=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E5=B0=B1=E8=A7=A6=E5=8F=91=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.xml | 2 +- src/main/resources/com/fr/plugin/pack/req.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);