Skip to content

Commit

Permalink
bugfix: modalform layout设置不生效
Browse files Browse the repository at this point in the history
- @Sula@1.2.0-beta.65
  • Loading branch information
xz8la8 committed Jul 9, 2021
1 parent d6068e2 commit 242c792
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/modalform/basic.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default () => {
ref.current
.show({
title: '弹窗表单',
layout: 'vertical',
fields: [
{
name: 'input1',
Expand Down
1 change: 1 addition & 0 deletions docs/modalform/plugin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default class PluginDemo extends React.Component {
{
type: 'modalform',
title: '弹窗表单',
layout: 'vertical',
fields: [
{
name: 'input1',
Expand Down
2 changes: 1 addition & 1 deletion packages/sula/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sula",
"version": "1.2.0-beta.64",
"version": "1.2.0-beta.65",
"module": "./es/index.js",
"main": "./es/index.js",
"types": "./es/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/sula/src/modalform/ModalForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export default class ModalForm extends React.Component<ModalFormProps> {
>
<ModalClass
{...modalProps}
getContainer={false}
title={title}
width={width}
visible={visible}
Expand Down

0 comments on commit 242c792

Please sign in to comment.