Open elevenwangyang opened 2 months ago
meta.ts
import type { IPublicTypeComponentMetadata, IPublicTypeSnippet } from "@alilc/lowcode-types"; const DemoTableMeta: IPublicTypeComponentMetadata = { "componentName": "DemoTable", "title": "DemoTable", "docUrl": "", "screenshot": "", "devMode": "proCode", "configure": { "props": [ { "title": { "label": '表格列', "tip": '表格列的配置描述,具体项见下表' }, "name": 'columns', "setter": { "componentName": 'ArraySetter', "props": { "itemSetter": { "componentName": 'ObjectSetter', "props": { "config": { "items": [ { "name": 'title', "title": { "label": '列标题', "tip": 'title | 列标题' }, "setter": "StringSetter" }, { "name": 'dataIndex', "title": { "label": '数据字段', "tip": 'dataIndex | 数据字段' }, "setter": 'StringSetter', "isRequired": true, }, ], }, }, "defaultValue": { "title": '标题' }, }, }, "defaultValue": [] }, }, ], "supports": { "style": true }, "component": {} }, }; const snippets: IPublicTypeSnippet[] = [ { "title": "DemoTable", "screenshot": "", "schema": { "componentName": "DemoTable", "props": {} } } ]; export default { ...DemoTableMeta, snippets };
可以看看这个2728
更新后好了,感谢
我拉取了lowcode-engine-ext这个项目,发现run start后,并不能正常运行,请问我该如何调试这个项目呢?能麻烦提供一下指导吗?
meta.ts