From 53e4073f67485a3ec7a01e2019414fb224ea7daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Tue, 15 Aug 2023 19:52:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=94=E9=99=A4=20=E6=97=A0=E6=95=88?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/lay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/lay.js b/src/modules/lay.js index 9c0327e6..5137763a 100644 --- a/src/modules/lay.js +++ b/src/modules/lay.js @@ -174,7 +174,7 @@ }; var margin = 'margin' in opts ? opts.margin : 5; var left = rect.left; - var top = rect.bottom - 39; + var top = rect.bottom; // 相对元素居中 if(opts.align === 'center'){