Match-id-d6a40aa03d531d32ad15dd1bd23dfdd33ce67423
This commit is contained in:
parent
c862e580eb
commit
d11f17afc4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue