Skip to content

Commit

Permalink
fix(generator): 修复属性配置区域数组对象结构展示标题导致样式错乱 (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
mengshang918 committed Feb 15, 2022
1 parent b8129b9 commit 7b7040e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/generator/src/fields/formItem/checkbox.field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const config: Field = {
items: {
type: 'object',
title: '',
ui: { type: 'object' },
ui: { type: 'object', showTitle: false },
schema: [
{
type: 'string',
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/src/fields/formItem/radio.field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const config: Field = {
items: {
type: 'object',
title: '',
ui: { type: 'object' },
ui: { type: 'object', showTitle: false },
schema: [
{
type: 'string',
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/src/fields/formItem/select.field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const config: Field = {
items: {
type: 'object',
title: '',
ui: { type: 'object' },
ui: { type: 'object', showTitle: false },
schema: [
{
type: 'string',
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/src/fields/formItem/slider.field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const config: Field = {
items: {
type: 'object',
title: '',
ui: { type: 'object' },
ui: { type: 'object', showTitle: false },
minItems: 1,
maxItems: 1,
schema: [
Expand Down

0 comments on commit 7b7040e

Please sign in to comment.