1
0
mirror of synced 2026-03-23 11:18:36 +08:00

feat(editor,form,form-schema): 新增form-schema,将表单schema放入其中

This commit is contained in:
roymondchen
2025-04-30 16:05:31 +08:00
parent 85284e54f5
commit 50b74d10e6
76 changed files with 1239 additions and 1058 deletions

View File

@@ -13,6 +13,9 @@
"type": "git",
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"dependencies": {
"@tmagic/form-schema": "workspace:^"
},
"peerDependencies": {
"@tmagic/core": "workspace:^",
"@tmagic/react-runtime-help": "workspace:^",

View File

@@ -17,8 +17,9 @@
*/
import { getElById } from '@tmagic/core';
import { defineFormConfig } from '@tmagic/form-schema';
export default [
export default defineFormConfig([
{
text: '页面标识',
name: 'name',
@@ -51,4 +52,4 @@ export default [
}
},
},
];
]);