Skip to content

Commit a80f4e1

Browse files
feat: 在默认模式和测试模式中添加字段属性
1 parent 4d51747 commit a80f4e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/playground/src/views/editor/init-schemas.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { ISchemasRoot } from '@quantum-lowcode/schemas';
33
export const defaultSchemas: ISchemasRoot = {
44
type: 'root',
55
name: 'test',
6+
field: 'root',
67
children: [
78
{
89
type: 'page',
@@ -20,6 +21,7 @@ export const defaultSchemas: ISchemasRoot = {
2021
export const testSchemasV1: ISchemasRoot = {
2122
type: 'root',
2223
name: 'test',
24+
field: 'root',
2325
dataSources: [
2426
{
2527
type: 'base',
@@ -204,6 +206,7 @@ export const testSchemasV1: ISchemasRoot = {
204206
export const testSchemasV2: ISchemasRoot = {
205207
type: 'root',
206208
name: 'test2',
209+
field: 'root',
207210
children: [
208211
{
209212
type: 'page',

0 commit comments

Comments
 (0)