fix:when node merges values, warp will be extra','
This commit is contained in:
parent
75b12cd0fd
commit
f34d86eb01
|
@ -260,7 +260,10 @@ class NodeModel implements NodeModelInterface {
|
|||
outer.attributes(key, attributes[key]);
|
||||
else {
|
||||
const attributes = outer.attributes(key).split(',');
|
||||
if (attributes.indexOf(attributes[key]) < 0)
|
||||
if (
|
||||
attributes[key] !== undefined &&
|
||||
attributes.indexOf(attributes[key]) < 0
|
||||
)
|
||||
attributes.push(attributes[key]);
|
||||
outer.attributes(key, attributes.join(','));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue