feat(editor,form,form-schema): 新增form-schema,将表单schema放入其中
This commit is contained in:
@@ -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:^",
|
||||
|
||||
@@ -16,10 +16,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export default [
|
||||
import { defineFormConfig } from '@tmagic/form-schema';
|
||||
|
||||
export default defineFormConfig([
|
||||
{
|
||||
name: 'pageFragmentId',
|
||||
text: '页面片ID',
|
||||
type: 'page-fragment-select',
|
||||
},
|
||||
];
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user