Match-id-72395bb12719e682d0641a4812d7ce8a7b7b9b23

This commit is contained in:
* 2022-10-28 19:38:38 +08:00 committed by *
parent b0f4ffa7bf
commit 0a3296bfa5
1 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,9 @@ import { getNamespaceCtx } from '../../renderer/ContextSaver';
import { NSS } from '../utils/DomCreator';
import { getDomTag } from '../utils/Common';
const svgHumpAttr = new Set([
// 不需要装换的svg属性集合
const svgHumpAttr = new Set();
[
'allowReorder',
'autoReverse',
'baseFrequency',
@ -83,7 +85,7 @@ const svgHumpAttr = new Set([
'xChannelSelector',
'yChannelSelector',
'zoomAndPan',
]);
].forEach((name) => svgHumpAttr.add(name));
// 驼峰 变 “-”
function convertToLowerCase(str) {