From 1908600db32a7c5b9f6fcc541699e5ab5fc3cd47 Mon Sep 17 00:00:00 2001 From: windy Date: Tue, 12 Sep 2023 18:39:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(BI-134501):=20=E4=B8=BB=E7=BA=BF?= =?UTF-8?q?=E4=B8=8D=E6=89=BE=E6=9C=80=E5=A4=96=E5=B1=82body?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/core/utils/dom.js | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/packages/fineui/src/core/utils/dom.js b/packages/fineui/src/core/utils/dom.js index a2aaa2d76..fee24904f 100644 --- a/packages/fineui/src/core/utils/dom.js +++ b/packages/fineui/src/core/utils/dom.js @@ -1,9 +1,9 @@ /** * 对DOM操作的通用函数 */ -import { Widget } from "../4.widget"; -import { each, isEmpty, isNull, isNotNull } from "../2.base"; import $ from "jquery"; +import { each, isEmpty, isNotNull, isNull } from "../2.base"; +import { Widget } from "../4.widget"; import { isIE } from "./../platform"; export function ready(fn) { @@ -794,13 +794,14 @@ export function getPositionRelativeContainingBlockRect(element) { */ export function getOuterBody() { // 默认挂在body上的都找最外层的body - let parentWindow = window; - let body = document.body; - try { - while (parentWindow.parent !== parentWindow) { - parentWindow = parentWindow.parent; - } - body = parentWindow.document.body; - } catch (e) {} - return body; + // let parentWindow = window; + // let body = document.body; + // try { + // while (parentWindow.parent !== parentWindow) { + // parentWindow = parentWindow.parent; + // } + // body = parentWindow.document.body; + // } catch (e) {} + // return body; + return document.body; } From 60fbbc2b57aaecd7f7a4f73e04feee3b28342437 Mon Sep 17 00:00:00 2001 From: jimmychai Date: Tue, 17 Oct 2023 18:42:51 +0800 Subject: [PATCH 2/2] =?UTF-8?q?BI-136783=20fix:=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=81=B0=E5=8C=96=E5=A4=8D=E9=80=89=E6=A1=86=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/bi.lessconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fineui/bi.lessconfig.json b/packages/fineui/bi.lessconfig.json index d82f94985..e46fb6e34 100644 --- a/packages/fineui/bi.lessconfig.json +++ b/packages/fineui/bi.lessconfig.json @@ -28,7 +28,7 @@ "@color-bi-background-disabled-active-radio-content": "#FFFFFF", "@color-bi-background-disabled-active-radio-content-theme-dark": "#606479", "@color-bi-background-disabled-active-checkbox-content": "#FFFFFF", - "@color-bi-background-disabled-active-checkbox-content-theme-dark": "#606479", + "@color-bi-background-disabled-active-checkbox-content-theme-dark": "rgba(255, 255, 255, 0.24)", "@color-bi-background-tooltip-success": "#3F506A", "@color-bi-background-tooltip-failure": "#E65251", "@color-bi-border-tooltip-success": "#2E3A4D",