Closed alex-80 closed 3 months ago
复现示例:
{ "schemas": [ { "type": "page", "id": "root", "label": "页面", "children": [], "componentProps": { "style": { "padding": "16px", "backgroundColor": "#3d22c3" } } } ], "script": "const { defineExpose, find } = epic;\n\nfunction test (){\n console.log('test')\n}\n\n// 通过defineExpose暴露的函数或者属性\ndefineExpose({\n test \n})" }
导出结果:
{ "schemas": [ { "type": "page", "id": "root", "label": "页面", "children": [], "componentProps": { "style": { "padding": "16px", "backgroundColor": "
复现示例:
导出结果: