Skip to content

Commit

Permalink
fix(generator): fixed the default width of the global ContainerStyle (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mengshang918 committed May 4, 2022
1 parent d8d32ef commit cf9cad1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const PropertyConfig = () => {
formData.containerStyle.width =
formData.containerStyle.width ||
generatorContext.current?.get().uiSchema?.containerStyle?.width ||
'100%'
(type != 'root' ? '100%' : 100)
}
// 标题特殊处理
if (key === 'title') {
Expand All @@ -128,6 +128,7 @@ const PropertyConfig = () => {
[
dataSchema?.title,
generatorContext,
type,
uiSchema.footer,
uiSchema?.showTitle,
uiSchema.title,
Expand Down

0 comments on commit cf9cad1

Please sign in to comment.