From 891d47c36f06acb51969cbabfa295db165026348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7A?= <623037142@qq.com> Date: Wed, 13 Nov 2024 11:03:28 +0800 Subject: [PATCH] Update attr.ts (#4303) 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 }