您好!给您提供一个workaround,参考如下代码:
- var templateString = designer.getData('treeNodeFromJson') || designer.getData('oldTreeNodeFromJson') || designer.getData('updatedTreeNode');
- var saveOptions = {};
- if (templateString) {
- saveOptions.customData = {
- designerBindingPathSchema: JSON.parse(templateString)
- }
- }
- spread.save((blob) => {
- saveAs(blob, 'test.sjs');
- }, () => {
- }, saveOptions);
复制代码
关于调研结论,会及时向您同步。 |