Match-id-f980076d463585529f203c8f96657b2b30b3870f

This commit is contained in:
* 2022-10-31 17:08:17 +08:00 committed by *
commit 54c7261fc8
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) {