fix(client): cannot read properties of undefined (reading 'interface')

This commit is contained in:
chenos 2021-10-12 22:01:18 +08:00
parent c829ae00d0
commit 5b9a24cba1
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ export const FieldDesignableBar = observer((props) => {
> >
</Menu.Item> </Menu.Item>
{collectionField.interface === 'linkTo' && ( {collectionField?.interface === 'linkTo' && (
<Menu.Item> <Menu.Item>
<div <div
style={{ style={{

View File

@ -2145,7 +2145,7 @@ Table.Column.DesignableBar = () => {
> >
</Menu.Item> </Menu.Item>
{collectionField.interface === 'linkTo' && ( {collectionField?.interface === 'linkTo' && (
<Menu.Item> <Menu.Item>
<div <div
style={{ style={{