fix: 修复数据表自动编码没有提交按钮的bug, 去除布局组件 (#722)
Reviewed-on: daoyoucloud/tachycode#722 Co-authored-by: bai.zixv <bai.zixv@foxmail.com> Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
This commit is contained in:
parent
2021230f50
commit
27d43eee28
@ -210,7 +210,12 @@ export function RuleConfigForm() {
|
|||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
// fix https://nocobase.height.app/T-2868
|
// fix https://nocobase.height.app/T-2868
|
||||||
FormDrawer({ title: compile(ruleType.title), zIndex: token.zIndexPopupBase + 1000 }, () => {
|
FormDrawer(
|
||||||
|
{
|
||||||
|
title: compile(ruleType.title),
|
||||||
|
zIndex: token.zIndexPopupBase + 1000,
|
||||||
|
},
|
||||||
|
() => {
|
||||||
return (
|
return (
|
||||||
<FormLayout layout="vertical">
|
<FormLayout layout="vertical">
|
||||||
<SchemaComponentOptions scope={schemaOptions.scope} components={schemaOptions.components}>
|
<SchemaComponentOptions scope={schemaOptions.scope} components={schemaOptions.components}>
|
||||||
@ -222,7 +227,6 @@ export function RuleConfigForm() {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</SchemaComponentOptions>
|
</SchemaComponentOptions>
|
||||||
<FormDrawer.Footer>
|
|
||||||
<FormButtonGroup
|
<FormButtonGroup
|
||||||
className={css`
|
className={css`
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
@ -236,10 +240,10 @@ export function RuleConfigForm() {
|
|||||||
{t('Submit')}
|
{t('Submit')}
|
||||||
</Submit>
|
</Submit>
|
||||||
</FormButtonGroup>
|
</FormButtonGroup>
|
||||||
</FormDrawer.Footer>
|
|
||||||
</FormLayout>
|
</FormLayout>
|
||||||
);
|
);
|
||||||
})
|
},
|
||||||
|
)
|
||||||
.open({
|
.open({
|
||||||
initialValues: options,
|
initialValues: options,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user