update 优化usePanel方法
This commit is contained in:
parent
63e38a59bd
commit
0dde4e5bdf
@ -97,9 +97,10 @@ export default (ops: Options) => {
|
|||||||
modeling.updateModdleProperties(element, propertiesElements, {
|
modeling.updateModdleProperties(element, propertiesElements, {
|
||||||
values: [...propertiesElements.get('values'), propertyElements]
|
values: [...propertiesElements.get('values'), propertyElements]
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
propertyElements.name = name;
|
||||||
|
propertyElements.value = value;
|
||||||
}
|
}
|
||||||
propertyElements.name = name;
|
|
||||||
propertyElements.value = value;
|
|
||||||
return propertyElements;
|
return propertyElements;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user