From 02734fe89cb0326e2ad61cb217711f3a1221292e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=83=E5=AE=87?= <576284134@qq.com> Date: Tue, 2 Aug 2022 01:33:59 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DIE11=20=E4=B8=8B=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=86=85=E7=9A=84=E5=A4=9A=E9=80=89=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/framework/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/framework/index.js b/src/components/framework/index.js index c820ff4..45dc373 100644 --- a/src/components/framework/index.js +++ b/src/components/framework/index.js @@ -460,8 +460,8 @@ class Framework extends Component{ (Date.now() - this.state.time > 10) && this.setState({ time: Date.now() }) return { position: 'fixed', - left: rect.x, - top: rect.y + rect.height + 4, + left: rect.left, + top: rect.top + rect.height + 4, width: rect.width, } } -- Gitee