feat(editor,form,form-schema): 新增form-schema,将表单schema放入其中
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
"url": "https://github.com/Tencent/tmagic-editor.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tmagic/form-schema": "workspace:^",
|
||||
"vue-demi": "^0.14.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -17,8 +17,9 @@
|
||||
*/
|
||||
|
||||
import { getElById } from '@tmagic/core';
|
||||
import { defineFormConfig } from '@tmagic/form-schema';
|
||||
|
||||
export default [
|
||||
export default defineFormConfig([
|
||||
{
|
||||
text: '页面片标识',
|
||||
name: 'name',
|
||||
@@ -49,4 +50,4 @@ export default [
|
||||
}
|
||||
},
|
||||
},
|
||||
];
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user