Skip to content

Commit

Permalink
fix(yunti-ui): add initialValue for sdkSwrFuncs
Browse files Browse the repository at this point in the history
  • Loading branch information
Carrotzpc committed Jul 8, 2024
1 parent c400e29 commit 20c4107
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,32 +71,6 @@ export const PageBreadcrumbMeta: IPublicTypeComponentMetadata = {
},
},
},
{
name: 'subTitle',
title: {
label: '副标题',
tip: '副标题或描述',
},
defaultValue: '我是副标题',
setter: Setters.StringSetter,
},
{
name: 'bordered',
title: {
label: '边框',
},
defaultValue: false,
setter: Setters.BoolSetter,
},
{
name: 'divider',
title: {
label: '分割线',
tip: '控制 header 与 content 的分割线,当 bordered 为 true 时,divider 自动设置为 false',
},
defaultValue: true,
setter: Setters.BoolSetter,
},
],
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const PageMeta: IPublicTypeComponentMetadata = {
props: {
itemSetter: {
...Setters.ObjectSetter,
initialValue: {},
props: {
config: {
items: [
Expand Down
2 changes: 1 addition & 1 deletion packages/yunti-ui-lowcode-materials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@babel/runtime": "^7.0.0"
},
"devDependencies": {
"@yuntijs/ui": "1.0.0-beta.35"
"@yuntijs/ui": "1.0.0-beta.36"
},
"peerDependencies": {
"@yuntijs/ui": "*",
Expand Down
26 changes: 13 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20c4107

Please sign in to comment.