Match-id-d6a40aa03d531d32ad15dd1bd23dfdd33ce67423

This commit is contained in:
* 2022-11-17 19:59:13 +08:00 committed by *
parent c862e580eb
commit d11f17afc4
1 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,10 @@ export function updateCommonProp(dom: Element, attrName: string, value: any, isN
value = null;
}
if (attrName === '') {
return;
}
if (!isNativeTag || propDetails === null) {
// 特殊处理svg的属性把驼峰式的属性名称转成'-'
if (getDomTag(dom) === 'svg' || getNamespaceCtx() === NSS.svg) {