From 1ebaead4c29f72a0f8b24dd442fe0ea6d35c132c Mon Sep 17 00:00:00 2001 From: zhaofengliang Date: Mon, 21 Oct 2024 19:53:54 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E8=B0=83=E6=95=B4=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=8C=96=E6=B5=8B=E8=AF=95=E8=84=9A=E6=9C=AC=20overfl?= =?UTF-8?q?ow-visible-event.uvue.test.js=EF=BC=8C=E9=80=82=E9=85=8D=20iOS1?= =?UTF-8?q?8.0=20=E7=9A=84=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/CSS/overflow/overflow-visible-event.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/CSS/overflow/overflow-visible-event.test.js b/pages/CSS/overflow/overflow-visible-event.test.js index d8614d90..82ef37d5 100644 --- a/pages/CSS/overflow/overflow-visible-event.test.js +++ b/pages/CSS/overflow/overflow-visible-event.test.js @@ -63,7 +63,7 @@ describe('/pages/CSS/overflow/overflow-visible-event.uvue', () => { await page.waitFor(1500); await page.callMethod('jest_getParentRect') const currentParentTop = await page.data('jest_parent_top'); - const offset = 2 + const offset = 4 const diff = Math.abs(currentParentTop - distance) < offset console.log("current ", currentParentTop); console.log("diff", diff); -- GitLab