From 6a9c97e99f038ea5a1baddbab718fcd78b40bd9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7A?= <623037142@qq.com> Date: Wed, 15 May 2024 10:06:08 +0800 Subject: [PATCH] Update attr.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增preserveAspectRatio的属性转换过滤 --- packages/x6-common/src/dom/attr.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/x6-common/src/dom/attr.ts b/packages/x6-common/src/dom/attr.ts index cc7bdda9894..204791364ad 100644 --- a/packages/x6-common/src/dom/attr.ts +++ b/packages/x6-common/src/dom/attr.ts @@ -9,6 +9,7 @@ export const CASE_SENSITIVE_ATTR = [ 'textLength', 'lengthAdjust', 'gradientUnits', + 'preserveAspectRatio' ] export type Attributes = { [key: string]: string | number | null | undefined }