From 177b417f99500bbf7f26627c15b360377bdf309f Mon Sep 17 00:00:00 2001 From: wibetter <365533093@qq.com> Date: Mon, 1 Aug 2022 11:29:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(valueFormula):=20=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E7=9A=84popOverContainer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I12ccb3d2e752e67147df4810d4d783504e17c2af --- packages/amis-editor/src/renderer/FormulaControl.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/amis-editor/src/renderer/FormulaControl.tsx b/packages/amis-editor/src/renderer/FormulaControl.tsx index be4bbf159..2414a99ea 100644 --- a/packages/amis-editor/src/renderer/FormulaControl.tsx +++ b/packages/amis-editor/src/renderer/FormulaControl.tsx @@ -352,6 +352,9 @@ export default class FormulaControl extends React.Component< } else { curRendererSchema.placeholder = '请输入静态默认值'; } + + // 设置popOverContainer + curRendererSchema.popOverContainer = window.document.body; } return curRendererSchema; }