form 的 canAccessSuperData 不能透传

This commit is contained in:
liaoxuezhi 2019-07-18 14:07:53 +08:00
parent c914b45e1f
commit 9d51fac4d5
1 changed files with 4 additions and 3 deletions

View File

@ -151,7 +151,8 @@ export default class Form extends React.Component<FormProps, object> {
"onSubmit",
"onChange",
"onFailed",
"onFinished"
"onFinished",
"canAccessSuperData"
];
hooks:{
@ -863,7 +864,7 @@ export default class Form extends React.Component<FormProps, object> {
{this.renderBody()}
{render('dialog', {
{render('modal', {
...(store.action as Action) && (store.action as Action).dialog as object,
type: 'dialog'
}, {
@ -874,7 +875,7 @@ export default class Form extends React.Component<FormProps, object> {
show: store.dialogOpen
})}
{render('drawer', {
{render('modal', {
...(store.action as Action) && (store.action as Action).drawer as object,
type: 'drawer'
}, {