1
0
mirror of synced 2026-04-05 07:48:35 +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

@@ -14,7 +14,8 @@
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"dependencies": {
"qrcode": "^1.5.0"
"@tmagic/form-schema": "workspace:^",
"qrcode": "^1.5.0"
},
"peerDependencies": {
"@tmagic/core": "workspace:^",

View File

@@ -16,10 +16,12 @@
* limitations under the License.
*/
export default [
import { defineFormConfig } from '@tmagic/form-schema';
export default defineFormConfig([
{
text: '链接',
name: 'url',
type: 'data-source-input',
},
];
]);